예제 #1
0
        private void OnDisable()
        {
            if (!isBomb)
            {
                return;
            }
            IsBombEnabled = false;
            isBomb        = false;

            PublisherSubscriber.Unsubscribe(gameEventSubscription);
        }
예제 #2
0
        private void OnDisable()
        {
            if (collectibleType == CollectibleType.Default)
            {
                PublisherSubscriber.Unsubscribe(collectibleItemEventSubscription);
            }

            if (collectibleType == CollectibleType.Enemy)
            {
                PublisherSubscriber.Unsubscribe(groundCompletedEventSubscription);
            }
        }
예제 #3
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(cameraEventSubscription);
 }
예제 #4
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(levelStartEventSubscription);
     PublisherSubscriber.Unsubscribe(collectedItemEventSubscription);
 }
예제 #5
0
 private void UnsubscribeToInput()
 {
     PublisherSubscriber.Unsubscribe(inputEventSubscription);
 }
예제 #6
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(gameEventSubscription);
     PublisherSubscriber.Unsubscribe(resetEventSubscription);
 }
예제 #7
0
 private void InputEventHandler(InputEventArgs inputEventArgs)
 {
     PublisherSubscriber.Publish(GameEventType.StartGame);
     PublisherSubscriber.Unsubscribe(inputEventSubscription);
 }
예제 #8
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(genericEventTypeSubscription);
 }
예제 #9
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(gameStateSubscription);
 }
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(changeInformationEventSubscription);
 }
예제 #11
0
 protected virtual void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(gameEventSubscription);
 }
예제 #12
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(progressBarSubscription);
 }
예제 #13
0
 private void OnDisable()
 {
     PublisherSubscriber.Unsubscribe(selectedGridItemsSubscription);
     PublisherSubscriber.Unsubscribe(swipeSubscription);
     PublisherSubscriber.Unsubscribe(gameEventSubscription);
 }