Exemplo n.º 1
0
 protected virtual void  OnDestroy()
 {
     NGRealTimeEditorDebug.instance = null;
     Utility.UnregisterIntervalCallback(this.Repaint);
 }
Exemplo n.º 2
0
 protected virtual void  OnEnable()
 {
     Utility.RestoreIcon(this);
     NGRealTimeEditorDebug.instance = this;
     Utility.RegisterIntervalCallback(this.Repaint, NGRealTimeEditorDebug.ForceRepaintRefreshTick);
 }