C# 클래스 FullInspector.Internal.fiEditorUtility

파일 보기 프로젝트 열기: jacobdufault/fullinspector

공개 프로퍼티들

프로퍼티 타입 설명
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