FairyGUI.Shape.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
        public void Clear()
        {
            _type = 0;
            _touchDisabled = true;
            graphics.ClearMesh();
        }

Usage Example

 static public int Clear(IntPtr l)
 {
     try {
         FairyGUI.Shape self = (FairyGUI.Shape)checkSelf(l);
         self.Clear();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }