Click or drag to resize

GObjectCenter Method (Boolean)

Set the object in middle of the parent or GRoot if the parent is not set.

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Center(
	bool restraint
)

Parameters

restraint
Type: SystemBoolean
Add relations to maintain the center state.
See Also