Пример #1
0
        public void StopBattle()
        {
            battleground.OnUnitDead -= OnUnitDead;

            DOTween.KillAll(); //TODO: this is so bad, must kill only battleground tweens

            Game.TrySwitchState(GameMode.IdleScreen);
        }
Пример #2
0
 void DoStart()
 {
     Debug.Log("Starting battle...");
     Game.TrySwitchState(GameMode.Battle);
 }