- Home /
This question was
closed Mar 31, 2014 at 11:07 PM by
getyour411 for the following reason:
Duplicate Question
Question by
T-D-M-3 · Mar 31, 2014 at 11:07 PM ·
javascripttexturematerialarmor
Texture change script
Hi, i need a script that can change the texture of my character for armor effects. i am not the most advanced programer and i do not know quite how to do this. help would be very much appreciated!
Comment
This question or ones like it have been asked many, many times; this isn't the place to for I need (someone to write) a script; if you have a specific question, please revise it; use the Unity forums for open-ended design/discussions.
if you still need it though, its
renderer.material.mainTexture = mycooltexture;
just make a texture variable called mycooltexture.. and make sure your object has a material component :)