FairyGUI.UIPainter.OnUpdateSource C# (CSharp) Method

OnUpdateSource() public method

public OnUpdateSource ( object data ) : void
data object
return void
        public void OnUpdateSource(object[] data)
        {
            if (Application.isPlaying)
                return;

            this.packageName = (string)data[0];
            this.packagePath = (string)data[1];
            this.componentName = (string)data[2];

            if ((bool)data[3])
                _captured = false;
        }

Usage Example

 static public int OnUpdateSource(IntPtr l)
 {
     try {
         FairyGUI.UIPainter self = (FairyGUI.UIPainter)checkSelf(l);
         System.Object[]    a1;
         checkArray(l, 2, out a1);
         self.OnUpdateSource(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.UIPainter::OnUpdateSource