Exemple #1
0
 protected virtual void OnDisable()
 {
     if (headset != null && headsetColliderScript != null)
     {
         headsetColliderScript.EndCollision(collidingWith);
         TearDownHeadset();
     }
 }
Exemple #2
0
 protected virtual void OnDisable()
 {
     if (headset != null && headsetColliderScript != null)
     {
         headsetColliderScript.EndCollision(collidingWith);
         VRTK_ObjectCache.registeredHeadsetCollider = null;
         TearDownHeadset();
     }
 }
 private void OnDisable()
 {
     if (headset)
     {
         headsetColliderScript.EndCollision(collidingWith);
         VRTK_ObjectCache.registeredHeadsetCollider = null;
         TearDownHeadset();
     }
 }