} //Basic enemy turn that will look at which enemy the player is fighting, and start seperate scripts depending on the enemy. public void Boss1Turn() { buttons.SetActive(false); enemyTurnAttack = true; boss1Attack.StartCoroutine("BossTurn1"); EnemyHolder.coroutinesRunning++; if (playerUnit.currentHP <= 0) { state = BattleStateFossil.LOST; StartCoroutine(EndBattle()); } enemyTurnAttack = false; } //Basic enemy turn that will look at which enemy the player is fighting, and start seperate scripts depending on the enemy.
public void Enter() { Debug.Log(actor.gameObject.name + " Awakening"); actor.StartCoroutine(PlayAwake()); }
public void Enter() { Debug.Log("now Attacking"); animationFinished = false; actor.StartCoroutine(PlayAttack()); }