Attach this class to a collider and it'll let you trigger events when the user clicks/drags/enters/etc that collider
More...
Inherits MonoBehaviour.
Attach this class to a collider and it'll let you trigger events when the user clicks/drags/enters/etc that collider
◆ OnMouseDown()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseDown |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseDrag()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseDrag |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseEnter()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseEnter |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseExit()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseExit |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseOver()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseOver |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseUp()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseUp |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseUpAsButton()
virtual void MoreMountains.Tools.MMOnMouse.OnMouseUpAsButton |
( |
| ) |
|
|
protectedvirtual |
◆ OnMouseDownEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseDownEvent |
OnMouseDown is called when the user has pressed the mouse button while over the Collider.
◆ OnMouseDragEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseDragEvent |
OnMouseDrag is called when the user has clicked on a Collider and is still holding down the mouse.
◆ OnMouseEnterEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseEnterEvent |
Called when the mouse enters the Collider.
◆ OnMouseExitEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseExitEvent |
Called when the mouse is not any longer over the Collider.
◆ OnMouseOverEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseOverEvent |
Called every frame while the mouse is over the Collider.
◆ OnMouseUpAsButtonEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseUpAsButtonEvent |
OnMouseUpAsButton is only called when the mouse is released over the same Collider as it was pressed.
◆ OnMouseUpEvent
UnityEvent MoreMountains.Tools.MMOnMouse.OnMouseUpEvent |
OnMouseUp is called when the user has released the mouse button.
The documentation for this class was generated from the following file:
- F:/Github/Store/InventoryEngineStore/Assets/InventoryEngine/MMTools/Accessories/MMActivation/MMOnMouse.cs