Esempio n. 1
0
        private void OnDestroy()
        {
            //Decoupling components
            inputProvider.OnTapStart -= controllable.TapStartPosition;
            inputProvider.OnTapMove  -= controllable.TapMove;
            inputProvider.OnTapEnd   -= controllable.TapEnd;

            GameOverEvent.RemoveListener(onGameOver);
            ResolutionScreenSetup.OnLoadCheckpoint -= onLoadCheckpoint;
        }
 private void OnDestroy()
 {
     GameOverEvent.RemoveListener(onGameOver);
 }
Esempio n. 3
0
 private void OnDestroy()
 {
     GameOverEvent.RemoveListener(onGameOver);
     ResolutionScreenSetup.OnLoadCheckpoint -= onLoadCheckpoint;
 }