Exemple #1
0
    IEnumerator DelayBOTAttack(float wait)
    {
        yield return(new WaitForSeconds(wait));

        InGameController controller = GameObject.FindGameObjectWithTag(Tags.SCENE_CONTROLLER).GetComponent <InGameController>();

        controller.BOTAttack();
    }