コード例 #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);
     }
 }