AnimancerGUI.

DoDropdownObjectFieldGUI<T>(Rect, GUIContent, bool, T) Method

Summary

Draws an object reference field with a dropdown button as its label and returns true if clicked.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerGUI

Syntax

public static bool DoDropdownObjectFieldGUI<T>(Rect area, GUIContent label, bool showDropdown, ref T value) 
    where T : Object

Type Parameters

Name Description
T

Parameters

Name Type Description
area Rect
label GUIContent
showDropdown bool
value T

Return Value

Type Description
bool