GComponentSetChildIndexBefore Method |
Moves a child to a certain position which is in front of the child previously at given index.
与SetChildIndex不同的是,如果child原来在index的前面,那么child插入的位置是index-1,即保证排在原来占据index的对象的前面。
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int SetChildIndexBefore(
GObject child,
int index
)
Parameters
- child
- Type: FairyGUIGObject
- index
- Type: SystemInt32
Return Value
Type:
Int32See Also