Tanoda
|
Static Public Member Functions | |
static GameObject | LoadPrefabWithId (string fileId) |
static GameObject | LoadPrefabWithMetadata (pb_MetaData metadata) |
static IEnumerable< T > | LoadAll< T > () |
Protected Member Functions | |
override void | OnEnable () |
virtual void | OnEnable () |
Additional Inherited Members | |
![]() | |
static T | instance [get] |
static T | nullableInstance [get] |
Singleton resource manager for efficiently finding prefabs and objects loaded in either AssetBundles or Resources.
Definition at line 12 of file pb_ResourceManager.cs.
|
static |
Load all assets of type T and return. Searches all directories listed in pb_Config (Resources and AssetBundle).
T | : | UnityEngine.Object |
Definition at line 107 of file pb_ResourceManager.cs.
|
static |
Definition at line 51 of file pb_ResourceManager.cs.
|
static |
Attempt to load a prefab from either Resources or AssetBundle using metadata
. Can return null if object is not found.
Definition at line 68 of file pb_ResourceManager.cs.
|
protectedvirtual |
Load all assets listed in pb_Config.Resource_Folder_Paths and populate a lookup table, then unload.
Reimplemented from GILES.pb_ScriptableObjectSingleton< pb_ResourceManager >.
Definition at line 21 of file pb_ResourceManager.cs.