- Home /
Question by
MomijiStudios · Nov 19, 2014 at 09:48 AM ·
guiinstantiateprefabcolorgui.button
GUI button texture different color when script is on Instantiated object
I'm having a very strange problem. I have buttons with little white arrows on them as the button contents. These are called in OnGUI within a script attached to a Prefab. If I have the object with this script attached in the scene at the start, they look fine and white. If the object is Instantiated, however, the textures are gray, and the buttons looks a little bit different.
I have no idea what could possibly be causing this. If anyone has any ideas, please let me know!
Comment
Your answer
Follow this Question
Related Questions
Prefab not loaded in webplayer!? 2 Answers
How to instantiate a prefab and change its color? 5 Answers
prefab question 1 Answer
Instantiated prefab color change 2 Answers
How do I destroy a Instantiated UI image that is pushed on the Canvas? 2 Answers