Game Development Community

SizeF could not be found

by fairuz · in · 10/07/2008 (8:11 pm) · 2 replies

Hi all,

In the GUISplashScreen.cs

// set some info for this control
            Name = "GUISplashScreen";
            Style = splashStyle;
            Size = new SizeF(800,600);
            OnFadeFinished = OnSplashFinished;

I'm getting this error:

Quote:The type or namespace name 'SizeF' could not be found (are you missing a using directive or an assembly reference?)

Any suggestions to fix this?

TIA.

#1
10/08/2008 (2:26 am)
Use Vector2 instead of SizeF.
#2
10/08/2008 (7:37 am)
Thank you. Much appreciated.