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)); }
private void Awake() { instance = this; active = true; }