예제 #1
0
    // flashes meter and found susan warning and starts battle
    IEnumerator flashMeter()
    {
        for (int i = 0; i < 4; ++i)
        {
            alarm_sfx.Play();
            progress_mask.gameObject.SetActive(false);
            alert_text.gameObject.SetActive(true);
            yield return(new WaitForSeconds(0.5f));

            progress_mask.gameObject.SetActive(true);
            alert_text.gameObject.SetActive(false);
            yield return(new WaitForSeconds(0.5f));
        }
        tune.activateRPG();
    }