C# Класс IABLoader, QFramework

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommonLoad ( ) : IEnumerator
DebugerLoader ( ) : void
Dispose ( ) : void

Releases all resource used by the IABLoader object.

Call Dispose when you are finished using the IABLoader. The Dispose method leaves the IABLoader in an unusable state. After calling Dispose, you must release all references to the IABLoader so the garbage collector can reclaim the memory that the IABLoader was occupying.

GetMultiRes ( string name ) : Object[]

获取多个资源

GetRes ( string name ) : Object

获取单个资源

IABLoader ( LoaderProgress loadProgress, LoadFinish, loadFinish ) : UnityEngine
LoadRes ( string path ) : void
SetABName ( string abName ) : void
UnLoadAssetRes ( Object tmpObj ) : void

Описание методов

CommonLoad() публичный Метод

public CommonLoad ( ) : IEnumerator
Результат IEnumerator

DebugerLoader() публичный Метод

public DebugerLoader ( ) : void
Результат void

Dispose() публичный Метод

Releases all resource used by the IABLoader object.
Call Dispose when you are finished using the IABLoader. The Dispose method leaves the IABLoader in an unusable state. After calling Dispose, you must release all references to the IABLoader so the garbage collector can reclaim the memory that the IABLoader was occupying.
public Dispose ( ) : void
Результат void

GetMultiRes() публичный Метод

获取多个资源
public GetMultiRes ( string name ) : Object[]
name string
Результат Object[]

GetRes() публичный Метод

获取单个资源
public GetRes ( string name ) : Object
name string
Результат Object

IABLoader() публичный Метод

public IABLoader ( LoaderProgress loadProgress, LoadFinish, loadFinish ) : UnityEngine
loadProgress LoaderProgress
loadFinish LoadFinish,
Результат UnityEngine

LoadRes() публичный Метод

public LoadRes ( string path ) : void
path string
Результат void

SetABName() публичный Метод

public SetABName ( string abName ) : void
abName string
Результат void

UnLoadAssetRes() публичный Метод

public UnLoadAssetRes ( Object tmpObj ) : void
tmpObj Object
Результат void