Пример #1
0
 protected override void CreateNonTouchingRigidbody()
 {
     if (createRigidBodyWhenNotTouching && usedObject == null && interactTongTouch != null)
     {
         if (!interactTongTouch.IsRigidBodyForcedActive() && interactTongTouch.IsRigidBodyActive() != usePressed)
         {
             interactTongTouch.ToggleControllerRigidBody(usePressed);
         }
     }
 }