This is the old Animancer v7.4 documentation. Click here for the latest version.

AnimancerGUI.

TryUseClickEvent(Rect, 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)

Parameters

Name Type Description
area Rect
button int

Return Value

Type Description
bool