How can I compare 2 gameobjects textures to see if they are the same.
For example:
if(this.texture == other.texture){
print(“Equal”);}
Thanks
How can I compare 2 gameobjects textures to see if they are the same.
For example:
if(this.texture == other.texture){
print(“Equal”);}
Thanks
I think this is the answer, but I could be wrong:
http://answers.unity3d.com/questions/15641/compare-if-object-is-assigned-specific-material.html