AnimancerGUI.

TryUseClickEvent(Rect, int, int) Method

Summary

Returns true and uses the current event if it is UnityEngine.EventType.MouseUp inside the specified `area`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerGUI

Syntax

public static bool TryUseClickEvent(Rect area, int button = -1, int controlID = 0)

Remarks

Uses UnityEngine.EventType.MouseDown and UnityEngine.EventType.MouseUp events.

Parameters

Name Type Description
area Rect
button int
controlID int

Return Value

Type Description
bool