FairyGUI.GoWrapper.Dispose C# (CSharp) 메소드

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void
        public override void Dispose()
        {
            if (_wrapTarget != null)
            {
                Object.Destroy(_wrapTarget);
                _wrapTarget = null;
            }

            base.Dispose();
        }

Usage Example

예제 #1
0
 static public int Dispose(IntPtr l)
 {
     try {
         FairyGUI.GoWrapper self = (FairyGUI.GoWrapper)checkSelf(l);
         self.Dispose();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.GoWrapper::Dispose