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