FairyGUI.Relations.ClearAll C# (CSharp) Method

ClearAll() public method

public ClearAll ( ) : void
return void
        public void ClearAll()
        {
            int cnt = _items.Count;
            for (int i = 0; i < cnt; i++)
            {
                RelationItem item = _items[i];
                item.Dispose();
            }
            _items.Clear();
        }

Usage Example

 static public int ClearAll(IntPtr l)
 {
     try {
         FairyGUI.Relations self = (FairyGUI.Relations)checkSelf(l);
         self.ClearAll();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.Relations::ClearAll