I'm following the tutorial to try and get a GUI up an running, but it just gives errors:
Assets/GolfWarsAssets/Objects/Game/GameController.cs(110,18): error CS0119: Expression denotes a
I am using c# - perhaps I am missing a reference? Any clues?
When using C# you need to use the new keyword in front of all constructors. Constructors are like functions that are used to create new objects (or scructs). They always have the same name as the type of object you are creating.
So if you are creating a new Rect using the constructor
answered Dec 15, 2009 at 08:14 AM