示例#1
0
 public void OnHoveringOverObject(IMouseInteractiveObject sender, MouseInputManagerEventArgs e)
 {
     if (m_hoveringOverObject != null)
     {
         m_hoveringOverObject(sender, e);
     }
 }
示例#2
0
 public void OnUnaimingObject(IRightButtonInteractiveObject sender, MouseInputManagerEventArgs e)
 {
     m_objectAimed = null;
     if (m_unaimingObject != null)
     {
         m_unaimingObject(sender, e);
     }
 }
示例#3
0
 public void OnUnselectingObject(ILeftButtonInteractiveObject sender, MouseInputManagerEventArgs e)
 {
     m_objectSelected = null;
     if (m_unselectingObject != null)
     {
         m_unselectingObject(sender, e);
     }
 }
示例#4
0
 public void OnHoveringInObject(IMouseInteractiveObject sender, MouseInputManagerEventArgs e)
 {
     m_objectHovered = sender.gameObject;
     if (m_hoveringInObject != null)
     {
         m_hoveringInObject(sender, e);
     }
 }