Example #1
0
 private void OnDestroy()
 {
     ZoneManagerPlugin.OnZoneDestroyed(this);
     ZoneManagerPlugin = null;
 }
 private void OnDestroy()
 {
     CancelInvoke("CheckLights");
     ZoneManagerPlugin.OnZoneDestroy(this);
     ZoneManagerPlugin = null;
     Destroy(gameObject);
 }