コード例 #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
ファイル: UIStart.cs プロジェクト: Overcllock/DogBattle
 void DoStart()
 {
     Debug.Log("Starting battle...");
     Game.TrySwitchState(GameMode.Battle);
 }