public void HitTheLights() { NeonFlash nf = Instantiate(neonFlash); nf.gameObject.SetActive(true); nf.Initialize(); nf.HitTheLights(); }
public void Flash() { NeonFlash nf = Instantiate(neonFlash); nf.gameObject.SetActive(true); nf.Initialize(); nf.HitTheLights(); if (tcf != null) { StopCoroutine(tcf); } tcf = TempChangeFrequency(9f, 2.5f); StartCoroutine(tcf); StartCoroutine("AuraPulse"); }
private void Start() { neonFlash = GetComponentInChildren <NeonFlash>(); neonFlash.gameObject.SetActive(false); }