Used to load resources addressable path also works here
More...
Inherits CrossLink.CoreMgr.
|
static void | ClearCache () |
|
static void | RemoveCache (string path) |
|
static void | Preload (string path) |
|
static void | AddPreloadedAsset (string path, Object obj) |
|
static bool | IsLoaded (string path) |
|
static void | InjectRes (Dictionary< string, Object > res) |
|
static void | InjectRes (string path, Object obj) |
|
static Object | Load (string prefix, string file, bool cache=true) |
|
static Object | Load (string path, bool cache=true) |
|
static void | LoadAsync (string path, System.Action< Object > cb, bool cache=true) |
|
static Object | Instantiate (Object prefab) |
|
static Object | Instantiate (Object prefab, Vector3 pos, Quaternion rot) |
|
static Object | Instantiate (string path, bool cache=true) |
|
static Object | Instantiate (string path, Vector3 pos, Quaternion rot, bool cache=true) |
|
static void | Destroy (Object o, float t=0) |
|
|
static System.Action< string > | OnResNotFound |
|
|
virtual void | OnInit () |
|
virtual void | OnRelease () |
|
virtual void | OnStateClear () |
|
Used to load resources addressable path also works here
addressables path: Effect/abc then you can load it by ResourceMgr.Load("Effect/abc")