C# Class UnityEditor.GameObjectInspector

Inheritance: Editor
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
dragObject UnityEngine.GameObject

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnHeaderGUI ( ) : void

Private Methods

Méthode 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 méthode

public static GetRenderableBoundsRecurse ( Bounds &bounds, GameObject go ) : void
bounds UnityEngine.Bounds
go UnityEngine.GameObject
Résultat void

GetRenderableCenterRecurse() public static méthode

public static GetRenderableCenterRecurse ( GameObject go, int minDepth, int maxDepth ) : Vector3
go UnityEngine.GameObject
minDepth int
maxDepth int
Résultat Vector3

HasPreviewGUI() public méthode

public HasPreviewGUI ( ) : bool
Résultat bool

HasRenderableParts() public static méthode

public static HasRenderableParts ( GameObject go ) : bool
go UnityEngine.GameObject
Résultat bool

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

OnHeaderGUI() protected méthode

protected OnHeaderGUI ( ) : void
Résultat void

OnInspectorGUI() public méthode

public OnInspectorGUI ( ) : void
Résultat void

OnPreviewGUI() public méthode

public OnPreviewGUI ( Rect r, GUIStyle background ) : void
r UnityEngine.Rect
background UnityEngine.GUIStyle
Résultat void

OnPreviewSettings() public méthode

public OnPreviewSettings ( ) : void
Résultat void

OnSceneDrag() public méthode

public OnSceneDrag ( SceneView sceneView ) : void
sceneView SceneView
Résultat void

ReloadPreviewInstances() public méthode

public ReloadPreviewInstances ( ) : void
Résultat void

RenderStaticPreview() public méthode

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

SetEnabledRecursive() public static méthode

public static SetEnabledRecursive ( GameObject go, bool enabled ) : void
go UnityEngine.GameObject
enabled bool
Résultat void

Property Details

dragObject public_oe static_oe property

public static GameObject,UnityEngine dragObject
Résultat UnityEngine.GameObject