Table of Contents

Class LocatableAttributeDrawer

public class LocatableAttributeDrawer : PropertyDrawer
Inheritance
LocatableAttributeDrawer
Extension Methods

Methods

Locate(Component, FieldInfo, bool, bool)

public static UnityEngine.Object Locate(Component target, FieldInfo fieldInfo, bool createPrefab = true, bool resolve = false)

Parameters

target Component
fieldInfo FieldInfo
createPrefab bool
resolve bool

Returns

Object

OnGUI(Rect, SerializedProperty, GUIContent)

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position Rect
property SerializedProperty
label GUIContent