C# 클래스 SimpleFramework.Manager.ResourceManager

상속: View
파일 보기 프로젝트 열기: QiuBuZai/UnityLuaFramework 1 사용 예제들

공개 메소드들

메소드 설명
GetLoadedAssetBundle ( string assetBundleName, string &error ) : AssetBundleInfo
Initialize ( string manifestAssetBundleName ) : AssetBundleManifestOperation
LoadAsset ( string abname, string assetname ) : GameObject

载入素材

LoadAsset ( string abname, string assetname, LuaFunction func ) : void

载入素材

LoadAssetAsync ( string assetBundleName, string assetName, System type ) : AssetBundleAssetOperation
UnloadAssetBundle ( string assetBundleName ) : void

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Awake ( ) : void
Initialize ( ) : void

初始化

LoadAssetBundle ( string abname ) : AssetBundle

载入AssetBundle

OnDestroy ( ) : void

销毁资源

OnLoadAsset ( string abname, string assetName, LuaFunction func ) : IEnumerator
Update ( ) : void

메소드 상세

GetLoadedAssetBundle() 정적인 공개 메소드

static public GetLoadedAssetBundle ( string assetBundleName, string &error ) : AssetBundleInfo
assetBundleName string
error string
리턴 AssetBundleInfo

Initialize() 정적인 공개 메소드

static public Initialize ( string manifestAssetBundleName ) : AssetBundleManifestOperation
manifestAssetBundleName string
리턴 AssetBundleManifestOperation

LoadAsset() 공개 메소드

载入素材
public LoadAsset ( string abname, string assetname ) : GameObject
abname string
assetname string
리턴 UnityEngine.GameObject

LoadAsset() 공개 메소드

载入素材
public LoadAsset ( string abname, string assetname, LuaFunction func ) : void
abname string
assetname string
func LuaFunction
리턴 void

LoadAssetAsync() 정적인 공개 메소드

static public LoadAssetAsync ( string assetBundleName, string assetName, System type ) : AssetBundleAssetOperation
assetBundleName string
assetName string
type System
리턴 AssetBundleAssetOperation

LoadAssetBundle() 정적인 보호된 메소드

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

LoadAssetBundleInternal() 정적인 보호된 메소드

static protected LoadAssetBundleInternal ( string assetBundleName, bool isLoadingAssetBundleManifest ) : bool
assetBundleName string
isLoadingAssetBundleManifest bool
리턴 bool

LoadDependencies() 정적인 보호된 메소드

static protected LoadDependencies ( string assetBundleName ) : void
assetBundleName string
리턴 void

RemapVariantName() 정적인 보호된 메소드

static protected RemapVariantName ( string assetBundleName ) : string
assetBundleName string
리턴 string

UnloadAssetBundle() 정적인 공개 메소드

static public UnloadAssetBundle ( string assetBundleName ) : void
assetBundleName string
리턴 void

UnloadAssetBundleInternal() 정적인 보호된 메소드

static protected UnloadAssetBundleInternal ( string assetBundleName ) : void
assetBundleName string
리턴 void

UnloadDependencies() 정적인 보호된 메소드

static protected UnloadDependencies ( string assetBundleName ) : void
assetBundleName string
리턴 void