Summary
Uses the `currentEvent` and sets
UnityEngine.GUI.changed
if the `controlID` matches the UnityEngine.GUIUtility.hotControl.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static bool TryUseHotControl(Event currentEvent, int controlID, bool guiChanged = true)
Remarks
This method is useful for handling
UnityEngine.EventType.MouseDrag.Parameters
| Name | Type | Description |
|---|---|---|
| currentEvent | Event | |
| controlID | int | |
| guiChanged | bool |
Return Value
| Type | Description |
|---|---|
| bool |