Пример #1
0
 protected override void KatCollision(Kat_Base other)
 {
     if (other.Physics.vspeed > 0 && !Base.Physics.Active)
       (Base as Manhole_Base).StartSpinning();
 }
Пример #2
0
 /***********************************
    * GAME CONSTANTS
    **********************************/
 void Awake()
 {
     instance = this;
     kat = GameObject.FindWithTag("Player").GetComponent<Kat_Base>();
 }