Sorry, posted in wrong section at first…
I am reading a book for Unity Beginners and im at the point where you do GUI. It said to make a custom GUI to create a “GUI Skin” and write a code “var customSkin : GUISkin;” and link the GUI “MyGUI” (The new GUI created) with the “Custom Skin” found in the “Hierarchy”. It then says to change the text color to go to the “Project” panel and chose “MyGUI” and go to the “Inspector” panel and unfold “Button” → “Normal” → “Text Color”. I change the color to light blue “0,255,255,255” and play the game, nothing has changed. What did I do wrong?
Here is my full code:
var customSkin : GUISkin;
function OnGUI ()
{
if(GUI.Button(Rect(0,0,100,50),"Play Game"))
{
print("You clicked me!");
}
}