Hi @Amar_Duranovic,
Ok, great, I understand now - thanks 
Yes, you are correct that is how you can do it.
I would perhaps try to remove some of the confusion through the names that are being used here also.
So for example, you currently have two text objects in your hierarchy, one called Text and one called Guess, having had a closer look at your hierarchy I am guessing that Text is the instruction at the top, if so, perhaps rename it to “Instructions”. That way, if you refer to it in code at any point you would state Instructions.text = rather than Text.text which can get confusing.
So, lets work out what the issue is.
“Derp” appears when you run the game because you have specified this in the Text field of the Text script component on the Guess game object.
- You have a GameFunctions object in your hierarchy, does this have the GameFunctions script attached to it?
- Your Higher button has an
OnClick()event and you have added GameFunctions to that, but is that the “script” from the Project view, or is that the game object named GameFunctions from your hierarchy (it needs to be the latter as per @Joao_Dalvi’s response above).
Would also be useful if you could post your script(s), specifically GameFunctions.cs
See also;
- Forum User Guides : How to apply code formatting within your post