unity set material

82

unity set material -

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

Comments

Submit
0 Comments