Click or drag to resize

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)
Syntax
C#
public 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: GObject
GObject
See Also