Example #1
0
    public void HitTheLights()
    {
        NeonFlash nf = Instantiate(neonFlash);

        nf.gameObject.SetActive(true);
        nf.Initialize();
        nf.HitTheLights();
    }
Example #2
0
    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");
    }
Example #3
0
 private void Start()
 {
     neonFlash = GetComponentInChildren <NeonFlash>();
     neonFlash.gameObject.SetActive(false);
 }