Gui Not showing up in game!

hey, I am just having some trouble with my GUI, I have my script attached to a game object, I have a GUI layer on my camera, and I am 95% certain my script is correct, I have no idea what I going wrong, This is my code, function onGUI() { if(GUI.Button(Rect(Screen.width/2-75,Screen.height/2-20,150,30),"New Game")) { print("Starting new game"); } if(GUI.Button(Rect(Screen.width/2-75,Screen.height/2+20,150,30),"continue Game")) { print("Continue game"); } }

Thanks

The function is not onGUI, you need to make sure to name it OnGUI, with a capital O, other than that your function is not a part of the standard registry and it won’t run automatically.