Version 2.1.0.0

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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.