Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.EventSystems
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseInformation about a mouse button event.
buttonData | Pointer data associated with the mouse event. |
buttonState | The state of the button this frame. |
PressedThisFrame | Was the button pressed this frame? |
ReleasedThisFrame | Was the button released this frame? |