C# Class UnityEditor.GameObjectInspector

Inheritance: Editor
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
dragObject UnityEngine.GameObject

Public Methods

Method Description
GetRenderableBoundsRecurse ( Bounds &bounds, GameObject go ) : void
GetRenderableCenterRecurse ( GameObject go, int minDepth, int maxDepth ) : Vector3
HasPreviewGUI ( ) : bool
HasRenderableParts ( GameObject go ) : bool
OnDestroy ( ) : void
OnEnable ( ) : void
OnInspectorGUI ( ) : void
OnPreviewGUI ( Rect r, GUIStyle background ) : void
OnPreviewSettings ( ) : void
OnSceneDrag ( SceneView sceneView ) : void
ReloadPreviewInstances ( ) : void
RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D
SetEnabledRecursive ( GameObject go, bool enabled ) : void

Protected Methods

Method Description
OnHeaderGUI ( ) : void

Private Methods

Method Description
CalculatePrefabStatus ( ) : void
CreatePreviewInstances ( ) : void
DestroyPreviewInstances ( ) : void
DoLayerField ( GameObject go ) : void
DoPrefabButtons ( PrefabType prefabType, GameObject go ) : void
DoRenderPreview ( ) : void
DoStaticFlagsDropDown ( GameObject go ) : void
DoStaticToggleField ( GameObject go ) : void
DoTagsField ( GameObject go ) : void
DrawInspector ( ) : bool
GetObjectListFromHierarchy ( List hierarchy, GameObject gameObject ) : void
GetObjects ( bool includeChildren ) : Object[]
GetRenderableCenterRecurse ( Vector3 &center, GameObject go, int depth, int minDepth, int maxDepth ) : float
HasStaticPreview ( ) : bool
InitPreview ( ) : void
OnDisable ( ) : void
RegisterNewComponents ( List newHierarchy, List hierarchy ) : void
SetLayer ( int layer, bool includeChildren ) : void
ShowMixedStaticEditorFlags ( StaticEditorFlags mask ) : bool

Method Details

GetRenderableBoundsRecurse() public static method

public static GetRenderableBoundsRecurse ( Bounds &bounds, GameObject go ) : void
bounds UnityEngine.Bounds
go UnityEngine.GameObject
return void

GetRenderableCenterRecurse() public static method

public static GetRenderableCenterRecurse ( GameObject go, int minDepth, int maxDepth ) : Vector3
go UnityEngine.GameObject
minDepth int
maxDepth int
return Vector3

HasPreviewGUI() public method

public HasPreviewGUI ( ) : bool
return bool

HasRenderableParts() public static method

public static HasRenderableParts ( GameObject go ) : bool
go UnityEngine.GameObject
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnHeaderGUI() protected method

protected OnHeaderGUI ( ) : void
return void

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

OnPreviewGUI() public method

public OnPreviewGUI ( Rect r, GUIStyle background ) : void
r UnityEngine.Rect
background UnityEngine.GUIStyle
return void

OnPreviewSettings() public method

public OnPreviewSettings ( ) : void
return void

OnSceneDrag() public method

public OnSceneDrag ( SceneView sceneView ) : void
sceneView SceneView
return void

ReloadPreviewInstances() public method

public ReloadPreviewInstances ( ) : void
return void

RenderStaticPreview() public method

public RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D
assetPath string
subAssets Object
width int
height int
return UnityEngine.Texture2D

SetEnabledRecursive() public static method

public static SetEnabledRecursive ( GameObject go, bool enabled ) : void
go UnityEngine.GameObject
enabled bool
return void

Property Details

dragObject public_oe static_oe property

public static GameObject,UnityEngine dragObject
return UnityEngine.GameObject