GComponent.RemoveChild Method (GObject, Boolean) |
Removes a child from the component. If the object is not a child, nothing happens.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic GObject RemoveChild(
GObject child,
bool dispose
)
Parameters
- child
- Type: FairyGUI.GObject
A child object - dispose
- Type: System.Boolean
If true, the child will be disposed right away.
Return Value
Type:
GObjectGObject
See Also