C# Class UnityEditor.ObjectSelector

Inheritance: EditorWindow
Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
Cancel void
CreateAndSetTreeView void
DrawObjectIcon void
FilterSettingsChanged void
GetSceneFromObject Scene
GetSelectedInstanceID int
GridListArea void
GuessIfUserIsLookingForAnAsset bool
HandleKeyboard void
InitIfNeeded void
IsUsingTreeView bool
ItemWasDoubleClicked void
LinePreview void
ListAreaItemSelectedCallback void
OnDestroy void
OnDisable void
OnEnable void
OnGUI void
OnInspectorUpdate void
OnObjectGridGUI void
OnObjectTreeGUI void
OverlapPreview void
PreviewArea void
PreviewIsOpen bool
PreviewIsWide bool
ResizeBottomPartOfWindow void
SearchArea void
SendEvent void
ShouldTreeViewBeUsed bool
Show void
TreeViewSelection void
WidePreview void

Public Methods

Method Description
GetCurrentObject ( ) : Object
GetInitialObject ( ) : Object
SetupPreview ( ) : void
Show ( Object obj, Type requiredType, UnityEditor.SerializedProperty property, bool allowSceneObjects ) : void

Private Methods

Method Description
Cancel ( ) : void
CreateAndSetTreeView ( ObjectTreeForSelector data ) : void
DrawObjectIcon ( Rect position, Texture icon ) : void
FilterSettingsChanged ( ) : void
GetSceneFromObject ( Object obj ) : Scene
GetSelectedInstanceID ( ) : int
GridListArea ( ) : void
GuessIfUserIsLookingForAnAsset ( string requiredClassName, bool checkGameObject ) : bool
HandleKeyboard ( ) : void
InitIfNeeded ( ) : void
IsUsingTreeView ( ) : bool
ItemWasDoubleClicked ( ) : void
LinePreview ( string s, Object o, EditorWrapper p ) : void
ListAreaItemSelectedCallback ( bool doubleClicked ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
OnInspectorUpdate ( ) : void
OnObjectGridGUI ( ) : void
OnObjectTreeGUI ( ) : void
OverlapPreview ( float actualSize, string s, Object o, EditorWrapper p ) : void
PreviewArea ( ) : void
PreviewIsOpen ( ) : bool
PreviewIsWide ( ) : bool
ResizeBottomPartOfWindow ( ) : void
SearchArea ( ) : void
SendEvent ( string eventName, bool exitGUI ) : void
ShouldTreeViewBeUsed ( string className ) : bool
Show ( Object obj, Type requiredType, UnityEditor.SerializedProperty property, bool allowSceneObjects, List allowedInstanceIDs ) : void
TreeViewSelection ( TreeViewItem item ) : void
WidePreview ( float actualSize, string s, Object o, EditorWrapper p ) : void

Method Details

GetCurrentObject() public static method

public static GetCurrentObject ( ) : Object
return Object

GetInitialObject() public static method

public static GetInitialObject ( ) : Object
return Object

SetupPreview() public method

public SetupPreview ( ) : void
return void

Show() public method

public Show ( Object obj, Type requiredType, UnityEditor.SerializedProperty property, bool allowSceneObjects ) : void
obj Object
requiredType Type
property UnityEditor.SerializedProperty
allowSceneObjects bool
return void