C# Класс FullInspector.Internal.fiEditorUtility

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
RepaintableEditorWindows List
ShouldInspectorRedraw fiStackEnabled

Открытые методы

Метод Описание
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.

Описание методов

GetAllAssetsOfType() публичный статический Метод

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 ///
Результат List

GetAllPrefabsOfType() публичный статический Метод

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
Результат List

GetAllScenes() публичный статический Метод

Returns the paths of all .scene files in the Unity project.
public static GetAllScenes ( ) : List
Результат List

HasMonoScript() публичный статический Метод

Returns true if the given obj has a MonoScript associated with it.
public static HasMonoScript ( object obj ) : bool
obj object
Результат bool

OpenScene() публичный статический Метод

public static OpenScene ( string scene ) : void
scene string
Результат void

RemoveMissingScripts() публичный статический Метод

public static RemoveMissingScripts ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
Результат void

RepaintAllEditors() публичный статический Метод

This will sent a repaint request to every active editor.
public static RepaintAllEditors ( ) : void
Результат void

TryGetMonoScript() публичный статический Метод

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.
Результат bool

Описание свойств

RepaintableEditorWindows публичное статическое свойство

Add to this list if the editor should be repainted upon a general repaint request.
public static List RepaintableEditorWindows
Результат List

ShouldInspectorRedraw публичное статическое свойство

If enabled, then the inspector should be constantly redrawn. This is used to work around some rendering issues within Unity.
public static fiStackEnabled ShouldInspectorRedraw
Результат fiStackEnabled