示例#1
0
文件: PhaseReset.cs 项目: GDCASU/Rush
    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;
    }
示例#2
0
 IEnumerator NoMoreCheese()
 {
     spawner.enabled = false;
     yield return(a0.returnIntoDoor());
 }