// Use this for initialization void Start() { guide = FindObjectOfType <GuideAi>(); for (int i = 0; i < order.Length; i++) { int x = Random.Range(0, validChoices.Count); order[i] = validChoices[x]; validChoices.RemoveAt(x); } tutorial.tutorialDialogues[2].senteces[0] = "Agora bata nos bonecos nessa ordem: " + colors[order[0]] + ", " + colors[order[1]] + ", " + colors[order[2]] + ", " + colors[order[3]] + ", " + colors[order[4]] + "."; }
// Use this for initialization void Start() { guide = FindObjectOfType <GuideAi>(); player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerMovement>(); }
// Use this for initialization void Start() { guide = FindObjectOfType <GuideAi>(); }