Summary
Releases the
UnityEngine.GUIUtility.hotControl
and uses the `currentEvent` if it was the active control.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static bool TryUseMouseUp(Event currentEvent, int controlID, bool guiChanged = false)
Remarks
This method is useful for handling
UnityEngine.EventType.MouseUp
.Parameters
Name | Type | Description |
---|---|---|
currentEvent | Event | |
controlID | int | |
guiChanged | bool |
Return Value
Type | Description |
---|---|
bool |