Summary
A generic wrapper around
UnityEditor.EditorGUI.ObjectField(UnityEngine.Rect,UnityEngine.GUIContent,UnityEngine.Object,System.Type,System.Boolean).
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Containing Type
- FMEditorGUI
Syntax
public static T ObjectField<T>(Rect area, GUIContent label, T value, bool allowSceneObjects)
where T : Object
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| area | Rect | |
| label | GUIContent | |
| value | T | |
| allowSceneObjects | bool |
Return Value
| Type | Description |
|---|---|
| T |