C# 클래스 PrefabAssetUtility.Editor.PrefabUtils

파일 보기 프로젝트 열기: savik-games/Cave 1 사용 예제들

공개 메소드들

메소드 설명
GetComponentsForPrefab ( string prefabPath ) : List

Get the list of Components that the prefab uses

GetGUIDsForPrefab ( string prefabPath ) : List

Get the list of GUIDs that the prefab uses

GetPrefabsForGUID ( string GUID ) : List

Get the list of prefab paths that reference the given GUID

GetPrefabsWithComponent ( Type type ) : List

Get the list of prefab paths that reference the given Component

GetPrefabsWithComponent ( ) : List

Get the list of prefab paths that reference the given Component

비공개 메소드들

메소드 설명
AddToLists ( string asset, HashSet Components, Dictionary &_aToB, Dictionary &_bToA ) : void
CompilationPipelineOnCompilationStarted ( object obj ) : void
EditorApplicationOnQuitting ( ) : void
GetAllPrefabs ( ) : List
Init ( ) : void
IsCacheAvailable ( ) : bool
IsCacheReady ( ) : bool
LoadCache ( ) : void
PrefabInstanceUpdated ( GameObject instance ) : void
ProcessCacheForAsset ( string asset ) : void
RefreshPrefabCache ( ) : void
SaveCache ( ) : void

메소드 상세

GetComponentsForPrefab() 공개 정적인 메소드

Get the list of Components that the prefab uses
public static GetComponentsForPrefab ( string prefabPath ) : List
prefabPath string The relative path to the prefab
리턴 List

GetGUIDsForPrefab() 공개 정적인 메소드

Get the list of GUIDs that the prefab uses
public static GetGUIDsForPrefab ( string prefabPath ) : List
prefabPath string The relative path to the prefab
리턴 List

GetPrefabsForGUID() 공개 정적인 메소드

Get the list of prefab paths that reference the given GUID
public static GetPrefabsForGUID ( string GUID ) : List
GUID string GUID to check for
리턴 List

GetPrefabsWithComponent() 공개 정적인 메소드

Get the list of prefab paths that reference the given Component
public static GetPrefabsWithComponent ( Type type ) : List
type Type Type to check for
리턴 List

GetPrefabsWithComponent() 공개 정적인 메소드

Get the list of prefab paths that reference the given Component
public static GetPrefabsWithComponent ( ) : List
리턴 List