void Start() { tutorialFlag = true; energyLevel = 0; soundManager = GameObject.Find("SoundManager").GetComponent<EmitterSoundManager>(); crowdManager = GameObject.Find ("CrowdManager").GetComponent<CrowdManager>(); }
void Start() { tutorialFlag = true; energyLevel = 0; soundManager = GameObject.Find("SoundManager").GetComponent <EmitterSoundManager>(); crowdManager = GameObject.Find("CrowdManager").GetComponent <CrowdManager>(); }
void Start() { count = 0; //xOffset = -1; numHits = 2; tutFlag = false; soundManager = GameObject.Find("SoundManager").GetComponent <EmitterSoundManager>(); }
// Use this for initialization void Start() { tankIndicator.SetActive(false); stringYPos = stringButton.transform.position.y; stringButton.gameObject.SetActive(false); RefillScript = GameObject.FindGameObjectWithTag("Player").GetComponent <EnergyRefill> (); //UIGroup.transform.GetChild(0).GetComponent<Scrollbar>().size = 0;// energyLevel/100f; soundManager = GameObject.Find("SoundManager").GetComponent <EmitterSoundManager>(); //InspirationFX = GameObject.Find ("InspirationFX"); //scaleFactor = 2; attack = new int[3]; inspire = new int[3]; int j = 3; radius = 10; for (int i = 0; i < 3; i++) { inspire[i] = i + 1; attack[i] = j; j--; flag = true; tankFlag = false; } }
// Use this for initialization void Start() { tankIndicator.SetActive(false); stringYPos = stringButton.transform.position.y; stringButton.gameObject.SetActive(false); RefillScript = GameObject.FindGameObjectWithTag ("Player").GetComponent<EnergyRefill> (); //UIGroup.transform.GetChild(0).GetComponent<Scrollbar>().size = 0;// energyLevel/100f; soundManager = GameObject.Find ("SoundManager").GetComponent<EmitterSoundManager>(); //InspirationFX = GameObject.Find ("InspirationFX"); //scaleFactor = 2; attack = new int[3]; inspire = new int[3]; int j = 3; radius = 10; for (int i =0;i<3; i++) { inspire[i] = i+1; attack[i] = j; j--; flag = true; tankFlag = false; } }
void Start() { count = 0; //xOffset = -1; numHits = 2; tutFlag = false; soundManager = GameObject.Find("SoundManager").GetComponent<EmitterSoundManager>(); }