I've been watching bergzerg arcade's hack & slash tutorial, and at the end of the 9th video he puts in a script that changes the default materials color. I'm using a custom model, with a custom texture/material. There are no errors in the script, and I have searched around on Unity Answers and google but I can't find anything that works. Thanks in advance!
C#: mObjectName.gameObject.renderer.material.color = new Color(R, G, B, A);
JS: mObjectName.renderer.material.SetColor("_TintColor", Color(R, G, B, A));
answered Apr 07 '11 at 03:55 AM