FairyGUI.GComponent.GetChildren C# (CSharp) Method

GetChildren() public method

Returns a copy of all children with an array.
public GetChildren ( ) : FairyGUI.GObject[]
return FairyGUI.GObject[]
        public GObject[] GetChildren()
        {
            return _children.ToArray();
        }

Usage Example

Example #1
0
 static public int GetChildren(IntPtr l)
 {
     try {
         FairyGUI.GComponent self = (FairyGUI.GComponent)checkSelf(l);
         var ret = self.GetChildren();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.GComponent::GetChildren