Esempio n. 1
0
    IEnumerator reset(RatbossA0 a)
    {
        if (a.ratOut)
        {
            yield return(a.returnIntoDoor());
        }

        a.resetRatLocations();

        a.enabled = false;

        yield return(new WaitForEndOfFrame());

        a.enabled = true;

        this.enabled = false;
    }
Esempio n. 2
0

        
Esempio n. 3
0
 private void Awake()
 {
     player = GameObject.Find("Player").GetComponent <Transform>();
     A0     = GetComponent <RatbossA0>();
 }
Esempio n. 4
0
 public void Awake()
 {
     spawner = GetComponent <BulletSpawner>();
     a0      = GetComponent <RatbossA0>();
 }