public void UnregisterAcquireHook(AcquireEvent methodObject) { if (LockAcquireEvents.Contains(methodObject)) { LockAcquireEvents.Remove(methodObject); } }
public override void OnDisabled() { base.OnDisabled(); ServerLocks.Clear(); LockAcquireEvents.Clear(); LockReleaseEvents.Clear(); }
protected override void OnDisabled() { base.OnDisabled(); LockStore.ClearAllLocks(); LockAcquireEvents.Clear(); LockReleaseEvents.Clear(); }
protected override void OnDisabled() { base.OnDisabled(); LockStore.ClearAllLocks(); LockAcquireEvents.Clear(); LockReleaseEvents.Clear(); GameEvents.onGameSceneLoadRequested.Remove(LockEvents.OnSceneRequested); }
public void RegisterAcquireHook(AcquireEvent methodObject) { LockAcquireEvents.Add(methodObject); }