I need help with this, I have looked up references for the last 30 minutes.
var Value1=guiText.text;
var Value2=1;
function OnGUI()
{
(GUI.Button(Rect(0.55, 0.75, 25, 25), “Feed”));
{
if(Value1 >= Value2))
GameObject.Find(“GameObject”).GetComponent(GUIText).Text = “Nice, you can buy more feed in the store.”;
}
}
The debug says that The symbol >= Cannot be used to the left hand side of an integer, and to the right hand side of a string