Version 3.3.1.2

ObjectPicker class

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

Properties

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

Methods

ClaimObject()
Not yet documented.
public object ClaimObject()
Returns
System.Object

GetObjectPicker(Object, Type)
Not yet documented.
public static ObjectPicker GetObjectPicker(object key, Type type)
Parameters
System.Object key

System.Type type

Returns
ObjectPicker

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

UnityEngine.Rect buttonRect

System.Boolean disallowNullValues

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

System.Boolean allowSceneObjects

UnityEngine.Rect buttonRect

System.Boolean disallowNullValues