C# Class FullInspector.Internal.fiEditorUtility

Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Свойство Type Description
RepaintableEditorWindows List
ShouldInspectorRedraw fiStackEnabled

Méthodes publiques

Méthode Description
GetAllAssetsOfType ( Type type ) : List

Find all assets of a given type, regardless of location.

Please note that this method can return UnityObject instances that have been deleted.

GetAllPrefabsOfType ( Type type ) : List

Find all prefabs of a given type, regardless of location.

Please note that this method can return UnityObject instances that have been deleted.

GetAllScenes ( ) : List

Returns the paths of all .scene files in the Unity project.

HasMonoScript ( object obj ) : bool

Returns true if the given obj has a MonoScript associated with it.

OpenScene ( string scene ) : void
RemoveMissingScripts ( GameObject gameObject ) : void
RepaintAllEditors ( ) : void

This will sent a repaint request to every active editor.

TryGetMonoScript ( object obj, MonoScript &script ) : bool

Attempts to fetch a MonoScript that is associated with the given obj.

Method Details

GetAllAssetsOfType() public static méthode

Find all assets of a given type, regardless of location.
Please note that this method can return UnityObject instances that have been deleted.
public static GetAllAssetsOfType ( Type type ) : List
type System.Type /// The (ScriptableObject derived) type of object to fetch ///
Résultat List

GetAllPrefabsOfType() public static méthode

Find all prefabs of a given type, regardless of location.
Please note that this method can return UnityObject instances that have been deleted.
public static GetAllPrefabsOfType ( Type type ) : List
type System.Type The type of object to fetch
Résultat List

GetAllScenes() public static méthode

Returns the paths of all .scene files in the Unity project.
public static GetAllScenes ( ) : List
Résultat List

HasMonoScript() public static méthode

Returns true if the given obj has a MonoScript associated with it.
public static HasMonoScript ( object obj ) : bool
obj object
Résultat bool

OpenScene() public static méthode

public static OpenScene ( string scene ) : void
scene string
Résultat void

RemoveMissingScripts() public static méthode

public static RemoveMissingScripts ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
Résultat void

RepaintAllEditors() public static méthode

This will sent a repaint request to every active editor.
public static RepaintAllEditors ( ) : void
Résultat void

TryGetMonoScript() public static méthode

Attempts to fetch a MonoScript that is associated with the given obj.
public static TryGetMonoScript ( object obj, MonoScript &script ) : bool
obj object The object to fetch the script for.
script UnityEditor.MonoScript The script, if found.
Résultat bool

Property Details

RepaintableEditorWindows public_oe static_oe property

Add to this list if the editor should be repainted upon a general repaint request.
public static List RepaintableEditorWindows
Résultat List

ShouldInspectorRedraw public_oe static_oe property

If enabled, then the inspector should be constantly redrawn. This is used to work around some rendering issues within Unity.
public static fiStackEnabled ShouldInspectorRedraw
Résultat fiStackEnabled