A simple question about using GUI.

Hello!

I'm trying to use GUI as following:

GUI.Label ( Rect(10,10, 400, 100), "Lerpz Escapes");

The unity said BCE0019: 'Label' is not a member of 'GUI'.

Can anyone tell me what I missed?

Thanks in advance!

Your script is named GUI. This makes Unity try to call a function named "Label" in your script. You can get around this by making calls to UnityEngine.GUI in order to differentiate between the two, but it's better just to not use Unity class names at all.

Could it be that you have a variable called GUI in your script? In that case, it will override the global GUI class in the UnityEngine namespace.