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