Horje
unity set material Code Example
unity set material
gameObject.GetComponent<Renderer>().material = newMaterial;
unity set material

// in the Start() method
Material yourMaterial = Resources.Load("red", typeof(Material)) as Material;





Csharp

Related
c# string remove special characters Code Example c# string remove special characters Code Example
make a list c# Code Example make a list c# Code Example
unity don't destroy on load Code Example unity don't destroy on load Code Example
c# clamp Code Example c# clamp Code Example
reverse string c# Code Example reverse string c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7