Summary
Sets the
UnityEngine.GUIUtility.hotControl
and uses the `currentEvent`
if the mouse position is inside the `area`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static bool TryUseMouseDown(Rect area, Event currentEvent, int controlID)
Remarks
This method is useful for handling
UnityEngine.EventType.MouseDown
.Parameters
Name | Type | Description |
---|---|---|
area | Rect | |
currentEvent | Event | |
controlID | int |
Return Value
Type | Description |
---|---|
bool |