FairyGUI.ColorFilter.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            if ((_target is Image) || (_target is MovieClip))
                _target.graphics.materialKeywords = null;
            else
                _target.LeavePaintingMode(1);

            _target = null;
        }

Usage Example

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