Esempio n. 1
0
        private void Start()
        {
            TouchController touchController = TouchController.instance;

            touchController.onUnTouch = (TouchController.TouchAction)Delegate.Combine(touchController.onUnTouch, new TouchController.TouchAction(unTouch));
            GameController gameController = GameController.instance;

            gameController.onNewGame = (GameController.SendGame)Delegate.Combine(gameController.onNewGame, new GameController.SendGame(handleNewGame));
        }
Esempio n. 2
0
 private void Awake()
 {
     instance = this;
     active   = true;
 }