Make the window be center of the screen.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void CenterOn(
GRoot r,
bool restraint
)
Parameters
- r
- Type: FairyGUIGRoot
- restraint
- Type: SystemBoolean
Add relations to ensure keeping center on screen size changed.
See Also