// Start is called before the first frame update void Start() { //tempTime = gameManager.timeLimit; gameManager = Object.FindObjectOfType <GameManager>(); alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); float temp; if (alltimeVariables.difficultyChecker[0] == true) { temp = alltimeVariables.timeSetting[0]; timeShow = temp; } if (alltimeVariables.difficultyChecker[1] == true) { temp = alltimeVariables.timeSetting[1]; timeShow = temp; } if (alltimeVariables.difficultyChecker[2] == true) { temp = alltimeVariables.timeSetting[2]; timeShow = temp; } if (alltimeVariables.boostChecker[3] == true) { timeShow += 30; } }
// Start is called before the first frame update void Start() { instance = this; alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); gameManager = Object.FindObjectOfType <GameManager>(); QuestSetUp(); }
private void Start() { audio = GetComponent <AudioSource>(); gameManager = Object.FindObjectOfType <GameManager>(); congaLine = Object.FindObjectOfType <CongaLineController>(); animalSpawner = Object.FindObjectOfType <AnimalSpawner>(); alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); }
// Start is called before the first frame update void Start() { instance = this; counter = 0; alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); animalMax = alltimeVariables.spawnRate; if (alltimeVariables.boostChecker[4] == true) { animalMax *= 2; } }
// Start is called before the first frame update void Start() { instance = this; alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); if (phoneVersion == true) { joystick.SetActive(true); } GameSetUp(); QuestSetUp(); BoostSetUp(); }
// Start is called before the first frame update void Start() { alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); }
// Start is called before the first frame update void Start() { alltimeVariables = Object.FindObjectOfType <AlltimeVariables>(); shop = Object.FindObjectOfType <Shop>(); audio = GetComponent <AudioSource>(); }