RemotePackageManager
0.2
Easily add suport for AssetBundles to your game!
|
Static Public Member Functions | |
static RemotePackageRequest | Load (string packageUri) |
RemotePackageManager's main method. It loads a package from the web or from inside the editor. More... | |
static void | Unload () |
Unload all packages to save memory. More... | |
Public Attributes | |
string | baseUrl = "https://s3.amazonaws.com/_your_bucket_name_/" |
bool | forceWWWRequests = false |
Properties | |
static bool | HasInstance [get] |
Gets a value indicating whether RemotePackageManager has instance. More... | |
static string | BaseUrl [get] |
Base url to compose the final package url in runtime. More... | |
Main class for managing your remote packages (AssetBundles).
RemotePackageManager.Load( "Your/Package/Name" ).GetAndInstantiate();
|
static |
RemotePackageManager's main method. It loads a package from the web or from inside the editor.
RemotePackageManager.Load( "Your/Package/Name" ).GetAndInstantiate();
packageUri | Package's URI (path) starting from the folder "Assets/AssetBundles/". |
|
static |
Unload all packages to save memory.
Note that this discards all cached references to downloaded assets meaning that subsequent calls to "Load" will actually download the entire package from the internet again.
Don't call this method when Objects from downloaded packages are still in use! This will cause undefined behaviour!
|
staticget |
Base url to compose the final package url in runtime.
RemotePackageManager's base URL string.
|
staticget |
Gets a value indicating whether RemotePackageManager has instance.
true
if RemotePackageManager has instance; otherwise, false
.