Exemplo n.º 1
0
    public void AssignTarget()
    {
        isGoalHit = false;

        foreach (TrainingPostBehaviour TP in TrainingPosts)
        {
            TP.ResetSelection();
        }

        int Rand = Random.Range(0, TrainingPosts.Count);

        TrainingPosts [Rand].SelectPost();
    }