public override void GiveObjectiveRewards() { HUDButtons = FindObjectOfType <HUDButtons>(); HUDButtons.ShowAnimals(); animalTokensScript = FindObjectOfType <AnimalTokensScript>(); animalTokensScript.ShowButterflyToken(); }
public override void GiveObjectiveRewards() { HUDButtons = FindObjectOfType <HUDButtons>(); HUDButtons.ShowAnimals(); //TODO - give turtle token animalTokensScript = FindObjectOfType <AnimalTokensScript>(); animalTokensScript.ShowTurtleToken(); }
public override void GiveObjectiveRewards() { Debug.Log("Penguin token gained"); HUDButtons = FindObjectOfType <HUDButtons>(); HUDButtons.ShowAnimals(); //animalTokensScript = FindObjectOfType<AnimalTokensScript>(); animalTokensScript = tokens.GetComponent <AnimalTokensScript>(); animalTokensScript.ShowPenguinToken(); }
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(); }
void Start() { animalTokensScript = FindObjectOfType <AnimalTokensScript>(); HUDButtons = FindObjectOfType <HUDButtons>(); }