Ejemplo 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;
    }
Ejemplo n.º 2
0

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