Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Protected Member Functions | List of all members
MouseEventsHandlerBase Class Reference

This component will try to find a script that implements the IMouseEvents interface in the parent gameobject, and send mouse event calls to it. Use this when you have colliders in child objects, but want to receive mouse events on the parent. More...

Inheritance diagram for MouseEventsHandlerBase:
MouseEventsHandler MouseRayEventsHandler Expansions.Missions.Editor.SpriteButton

Static Public Member Functions

static IMouseEvents FindHandleUpwards (GameObject go)
 

Protected Member Functions

virtual void OnMouseDown ()
 
virtual void OnMouseDrag ()
 
virtual void OnMouseEnter ()
 
virtual void OnMouseExit ()
 
virtual void OnMouseUp ()
 
virtual void Start ()
 

Detailed Description

This component will try to find a script that implements the IMouseEvents interface in the parent gameobject, and send mouse event calls to it. Use this when you have colliders in child objects, but want to receive mouse events on the parent.

Member Function Documentation

static IMouseEvents MouseEventsHandlerBase.FindHandleUpwards ( GameObject  go)
inlinestatic
virtual void MouseEventsHandlerBase.OnMouseDown ( )
inlineprotectedvirtual
virtual void MouseEventsHandlerBase.OnMouseDrag ( )
inlineprotectedvirtual
virtual void MouseEventsHandlerBase.OnMouseEnter ( )
inlineprotectedvirtual
virtual void MouseEventsHandlerBase.OnMouseExit ( )
inlineprotectedvirtual
virtual void MouseEventsHandlerBase.OnMouseUp ( )
inlineprotectedvirtual
virtual void MouseEventsHandlerBase.Start ( )
inlineprotectedvirtual

Reimplemented in MouseRayEventsHandler.


The documentation for this class was generated from the following file: