C# Class AssetBundles.AssetBundleManager

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: unity3d-jp/AssetGraph Class Usage Examples

Public Methods

Method Description
GetLoadedAssetBundle ( string assetBundleName, string &error ) : LoadedAssetBundle
Initialize ( ) : AssetBundleLoadManifestOperation
Initialize ( string manifestAssetBundleName ) : AssetBundleLoadManifestOperation
LoadAssetAsync ( string assetBundleName, string assetName, System type ) : AssetBundleLoadAssetOperation
LoadLevelAsync ( string assetBundleName, string levelName, bool isAdditive ) : AssetBundleLoadOperation
SetDevelopmentAssetBundleServer ( ) : void
SetSourceAssetBundleDirectory ( string relativePath ) : void
SetSourceAssetBundleURL ( string absolutePath ) : void
UnloadAssetBundle ( string assetBundleName ) : void

Protected Methods

Method Description
LoadAssetBundle ( string assetBundleName, bool isLoadingAssetBundleManifest = false ) : void
LoadAssetBundleInternal ( string assetBundleName, bool isLoadingAssetBundleManifest ) : bool
LoadDependencies ( string assetBundleName ) : void
RemapVariantName ( string assetBundleName ) : string
UnloadAssetBundleInternal ( string assetBundleName ) : void
UnloadDependencies ( string assetBundleName ) : void

Private Methods

Method Description
GetStreamingAssetsPath ( ) : string
Log ( LogType logType, string text ) : void
Update ( ) : void

Method Details

GetLoadedAssetBundle() public static method

public static GetLoadedAssetBundle ( string assetBundleName, string &error ) : LoadedAssetBundle
assetBundleName string
error string
return LoadedAssetBundle

Initialize() public static method

public static Initialize ( ) : AssetBundleLoadManifestOperation
return AssetBundleLoadManifestOperation

Initialize() public static method

public static Initialize ( string manifestAssetBundleName ) : AssetBundleLoadManifestOperation
manifestAssetBundleName string
return AssetBundleLoadManifestOperation

LoadAssetAsync() public static method

public static LoadAssetAsync ( string assetBundleName, string assetName, System type ) : AssetBundleLoadAssetOperation
assetBundleName string
assetName string
type System
return AssetBundleLoadAssetOperation

LoadAssetBundle() protected static method

protected static LoadAssetBundle ( string assetBundleName, bool isLoadingAssetBundleManifest = false ) : void
assetBundleName string
isLoadingAssetBundleManifest bool
return void

LoadAssetBundleInternal() protected static method

protected static LoadAssetBundleInternal ( string assetBundleName, bool isLoadingAssetBundleManifest ) : bool
assetBundleName string
isLoadingAssetBundleManifest bool
return bool

LoadDependencies() protected static method

protected static LoadDependencies ( string assetBundleName ) : void
assetBundleName string
return void

LoadLevelAsync() public static method

public static LoadLevelAsync ( string assetBundleName, string levelName, bool isAdditive ) : AssetBundleLoadOperation
assetBundleName string
levelName string
isAdditive bool
return AssetBundleLoadOperation

RemapVariantName() protected static method

protected static RemapVariantName ( string assetBundleName ) : string
assetBundleName string
return string

SetDevelopmentAssetBundleServer() public static method

public static SetDevelopmentAssetBundleServer ( ) : void
return void

SetSourceAssetBundleDirectory() public static method

public static SetSourceAssetBundleDirectory ( string relativePath ) : void
relativePath string
return void

SetSourceAssetBundleURL() public static method

public static SetSourceAssetBundleURL ( string absolutePath ) : void
absolutePath string
return void

UnloadAssetBundle() public static method

public static UnloadAssetBundle ( string assetBundleName ) : void
assetBundleName string
return void

UnloadAssetBundleInternal() protected static method

protected static UnloadAssetBundleInternal ( string assetBundleName ) : void
assetBundleName string
return void

UnloadDependencies() protected static method

protected static UnloadDependencies ( string assetBundleName ) : void
assetBundleName string
return void