Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity set material


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

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #unity #set #material
ADD COMMENT
Topic
Name
3+3 =