Esempio n. 1
0
 public override void EndHover(InputState input)
 {
     if (activeHover != null)
     {
         activeHover.EndHover(input.vGamepadWorldRay);
         activeHover = null;
     }
 }
Esempio n. 2
0
 public override void EndHover(InputState input)
 {
     if (activeHover != null)
     {
         activeHover.EndHover(input.vMouseOrthoWorldRay);
         activeHover = null;
     }
 }
 void deactivate_hover(InputState input, bool left)
 {
     if (left)
     {
         if (activeLeftHover != activeRightHover)
         {
             activeLeftHover.EndHover(input.vLeftSpatialWorldRay);
         }
         activeLeftHover = null;
     }
     else
     {
         if (activeRightHover != activeLeftHover)
         {
             activeRightHover.EndHover(input.vRightSpatialWorldRay);
         }
         activeRightHover = null;
     }
 }