EventCheckerCheckClickEvent Method (Event) |
Checks if the mouse click event has happen during the frame.
Namespace:
KSPDev.InputUtils
Assembly:
KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntaxpublic static bool CheckClickEvent(
Event ev
)
Request Example
View SourceParameters
- ev
- Type: UnityEngineEvent
The event to match for.
Return Value
Type:
Booleantrue if the requested combination has matched the current frame state.
Remarks
This check treats "left" and "right" modifiers equally. And it doesn't consider any of the
state modifiers (CAPS, NUM, SCROLL, etc.).
See Also