Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity color alpha not working

// FIRST STEP:
// Change Material Rendering Mode from Opaque to Transparent

// Using Code to change alpha value
[SerializeField] private Material myMaterial;

void Start()
{
  Color color = myMaterial.color;
  color.a = 0;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: Merge two List using Linq 
Csharp :: c sharp system pause equivelent 
Csharp :: how to know pm or am C# 
Csharp :: linear search algorithm c# 
Csharp :: how to fill model enum with bradio button asp razor 
Csharp :: c# progress bar timer 
Csharp :: get first number in string C# 
Csharp :: c# .net core entity framework one to many 
Csharp :: C# http post request with file 
Csharp :: unity stop physics 
Csharp :: discord embeds how to separate inline fields 
Csharp :: unity hide mouse first person 
Csharp :: c# networkstream read all bytes 
Csharp :: c# max sequence contains no elements 
Csharp :: 2d array 
Csharp :: c# temporary files 
Csharp :: add header in action asp.net mvc 
Csharp :: C# Change color 
Csharp :: how create two database conction in laravel 
Csharp :: Generic Stack 
Csharp :: c# string verbatim 
Csharp :: Using Linq to get the last N elements of a collection? C# 
Csharp :: c# how to check the minimum and maximum of numbers 
Csharp :: strong email validation regex c# 
Csharp :: .net using appsettings variables 
Csharp :: exception 
Csharp :: rotate skybox on x axis unity 
Csharp :: wpf rounded button 
Csharp :: dynamics 365 create record c# 
Csharp :: decode token to get claims value 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =