- Home /
This question was
closed May 13, 2013 at 03:31 PM by
Fattie for the following reason:
Duplicate Question
Changing an objects material by clicking GUI button
I have a GUI button that turns on and off a light. The light has a self illuminated material on it with a spot light under it to make it look like it is glowing. I am looking for a way to change the material of the object so that when I click the GUI button to turn the light off the material changes from the self illumation to a standard material and stops glowing. Thanks.
Comment
Follow this Question
Related Questions
How can I combine GUI button with script that is put on different gam objects? 1 Answer
GUI button doesn't appear on Android 0 Answers
How Do You Use GUIText to Move Through Multiple Texts? 1 Answer
Click on a button that is created post start. 0 Answers
Rigidbody Gravity scripting question (Javascript Answers Only!) 3 Answers