Version 3.3.1.2

ObjectPicker<T> class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public sealed class ObjectPicker<T>
Not yet documented.
Inheritance
  • System.Object
  • ObjectPicker<T>

Type Parameters

T

Properties

CurrentSelectedObject
Not yet documented.
public T CurrentSelectedObject { get; }
IsPickerOpen
Not yet documented.
public bool IsPickerOpen { get; }
IsReadyToClaim
Not yet documented.
public bool IsReadyToClaim { get; }

Methods

ClaimObject()
Not yet documented.
public T ClaimObject()
Returns
T

GetObjectPicker(Object)
Not yet documented.
public static ObjectPicker<T> GetObjectPicker(object key)
Parameters
System.Object key

Returns
ObjectPicker<T>

ShowObjectPicker(Object, Boolean, Rect, Boolean)
Not yet documented.
public void ShowObjectPicker(object value, bool allowSceneObjects, Rect buttonRect = null, bool isUnitySerialized = false)
Parameters
System.Object value

System.Boolean allowSceneObjects

UnityEngine.Rect buttonRect

System.Boolean isUnitySerialized