AssetBundleService Class |
Namespace: ImmerseSDK.AssetBundles
public class AssetBundleService : SingletonBehaviour
The AssetBundleService type exposes the following members.
Name | Description | |
---|---|---|
AssetBundleService | Initializes a new instance of the AssetBundleService class |
Name | Description | |
---|---|---|
CoroutineInitialise |
Override this to perform initialisation tasks
This coroutine is started in Awake().
To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.) | |
GetAssetBundleConfigAssetPath |
Returns the file path of the asset bundle configuration file in your project. This can be used to automatically update it during builds or in Editor Scripts and tools if need be.
| |
GetAssetBundleConfigFilePath |
Returns the file path of the asset bundle configuration file in your project. This can be used to automatically update it during builds or in Editor Scripts and tools if need be.
| |
GetAssetBundleStreamingAssetsPath |
Returns the folder path of the asset bundle streaming assets folder in your project. This can be used to automatically update it during builds or in Editor Scripts and tools if need be.
| |
GetRelativeStreamingResourcePath |
Gets the relative path inside the streaming assets folder for this asset bundle file
| |
GetVersionedAssetBundlePath |
Gets the relative versioned path for an asset bundle file.
| |
IsAssetBundleLoaded |
Returns true if this AssetBundle is already loading, otherwise false
| |
IsAssetBundleLoading |
Returns true if this AssetBundle is already loading, otherwise false
| |
LoadAssetAsyncT |
Start loading an asset from the specified assetbundle. If the asset bundle is not loaded, this method fails.
| |
StartLoadingAssetBundle |
Start loading an AssetBundle
| |
UnloadAssetBundle |
Unload AssetBundle and free resources. note we do not unload all the loaded objects. It's up to you to make sure they are not referenced and destroyed if need be.
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |