Click or drag to resize
GComponentGetChildIndex Method
Returns the index of a child within the container, or "-1" if it is not found.

Namespace: FairyGUI
Assembly: FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int GetChildIndex(
	GObject child
)

Parameters

child
Type: FairyGUIGObject
A child object

Return Value

Type: Int32
Index of the child. -1 If not found.
See Also