Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public sealed class ObjectPicker
public object CurrentSelectedObject { get; }
public bool IsPickerOpen { get; }
public bool IsReadyToClaim { get; }
public object ClaimObject()
System.Object |
public static ObjectPicker GetObjectPicker(object key, Type type)
System.Object | key | |
System.Type | type |
ObjectPicker |
public void ShowObjectPicker(bool allowSceneObjects, Rect buttonRect = null, bool disallowNullValues = false)
System.Boolean | allowSceneObjects | |
UnityEngine.Rect | buttonRect | |
System.Boolean | disallowNullValues |
public void ShowObjectPicker(object currValue, bool allowSceneObjects, Rect buttonRect = null, bool disallowNullValues = false)
System.Object | currValue | |
System.Boolean | allowSceneObjects | |
UnityEngine.Rect | buttonRect | |
System.Boolean | disallowNullValues |