I want to make a material changeing script similair to a button door script, so it'll work with buttons. I already got a regular button door script but I don't know what to put in it to make it change material (I'm not good at scripting :S). What do I need to put in it to make it change material when clicked? |