Beispiel #1
0
    public override void GiveObjectiveRewards()
    {
        HUDButtons = FindObjectOfType <HUDButtons>();
        HUDButtons.ShowAnimals();

        animalTokensScript = FindObjectOfType <AnimalTokensScript>();
        animalTokensScript.ShowButterflyToken();
    }
Beispiel #2
0
    public override void GiveObjectiveRewards()
    {
        HUDButtons = FindObjectOfType <HUDButtons>();
        HUDButtons.ShowAnimals();

        //TODO - give turtle token
        animalTokensScript = FindObjectOfType <AnimalTokensScript>();
        animalTokensScript.ShowTurtleToken();
    }
Beispiel #3
0
    public override void GiveObjectiveRewards()
    {
        Debug.Log("Penguin token gained");
        HUDButtons = FindObjectOfType <HUDButtons>();
        HUDButtons.ShowAnimals();

        //animalTokensScript = FindObjectOfType<AnimalTokensScript>();
        animalTokensScript = tokens.GetComponent <AnimalTokensScript>();
        animalTokensScript.ShowPenguinToken();
    }
Beispiel #4
0
    public override void GiveObjectiveRewards()
    {
        SceneManager.LoadScene("ExitScreen");
        Debug.Log("Penguin token gained");
        HUDButtons = FindObjectOfType <HUDButtons>();
        HUDButtons.ShowAnimals();

        //animalTokensScript = FindObjectOfType<AnimalTokensScript>();
        animalTokensScript = tokens.GetComponent <AnimalTokensScript>();
        animalTokensScript.ShowTuataraToken();
    }
Beispiel #5
0
 void Start()
 {
     animalTokensScript = FindObjectOfType <AnimalTokensScript>();
     HUDButtons         = FindObjectOfType <HUDButtons>();
 }