private void OnDisable() { if (!isBomb) { return; } IsBombEnabled = false; isBomb = false; PublisherSubscriber.Unsubscribe(gameEventSubscription); }
private void OnDisable() { if (collectibleType == CollectibleType.Default) { PublisherSubscriber.Unsubscribe(collectibleItemEventSubscription); } if (collectibleType == CollectibleType.Enemy) { PublisherSubscriber.Unsubscribe(groundCompletedEventSubscription); } }
private void OnDisable() { PublisherSubscriber.Unsubscribe(cameraEventSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(levelStartEventSubscription); PublisherSubscriber.Unsubscribe(collectedItemEventSubscription); }
private void UnsubscribeToInput() { PublisherSubscriber.Unsubscribe(inputEventSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(gameEventSubscription); PublisherSubscriber.Unsubscribe(resetEventSubscription); }
private void InputEventHandler(InputEventArgs inputEventArgs) { PublisherSubscriber.Publish(GameEventType.StartGame); PublisherSubscriber.Unsubscribe(inputEventSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(genericEventTypeSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(gameStateSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(changeInformationEventSubscription); }
protected virtual void OnDisable() { PublisherSubscriber.Unsubscribe(gameEventSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(progressBarSubscription); }
private void OnDisable() { PublisherSubscriber.Unsubscribe(selectedGridItemsSubscription); PublisherSubscriber.Unsubscribe(swipeSubscription); PublisherSubscriber.Unsubscribe(gameEventSubscription); }