Пример #1
0
 void OnTriggerExit(Collider other)
 {
     if (other.gameObject.tag == "Wall" && pc.throwObject != null)
     {
         pc.SafetyLock = true;
     }
     else
     {
         if (_oc != null)
         {
             _oc.EmissionDisable();
         }
         _otherPc       = null;
         _oc            = null;
         pc.catchObject = null;
     }
 }