Exemplo n.º 1
0
    void PlayerTurn()
    {
        Debug.Log("Choose an action:");

        // enable the player's Actions when their turn starts
        playerHUD.EnableActions(playerHUD);
    }
Exemplo n.º 2
0
    //IEnumerator EnemyTurn()
    void EnemyTurn()
    {
        // enemy logic
        Debug.Log("Enemy's turn");

        // enable the enemy Actions when their turn starts
        enemyHUD.EnableActions(enemyHUD);


        //yield return new WaitForSeconds(2f);
    }