RemotePackageManager  0.2
Easily add suport for AssetBundles to your game!
 All Classes Functions Variables Properties
Static Public Member Functions | Public Attributes | Properties | List of all members
RemotePackageManager Class Reference

RemotePackageManager. More...

Inheritance diagram for RemotePackageManager:

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...
 

Detailed Description

RemotePackageManager.

Main class for managing your remote packages (AssetBundles).

RemotePackageManager.Load( "Your/Package/Name" ).GetAndInstantiate();

See Also
Load, RemotePackageRequest

Member Function Documentation

static RemotePackageRequest RemotePackageManager.Load ( string  packageUri)
static

RemotePackageManager's main method. It loads a package from the web or from inside the editor.

RemotePackageManager.Load( "Your/Package/Name" ).GetAndInstantiate();

Parameters
packageUriPackage's URI (path) starting from the folder "Assets/AssetBundles/".
Returns
A RemotePackageRequest is returned to gain more flexibility on the just downloaded package.
See Also
RemotePackageRequest
static void RemotePackageManager.Unload ( )
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!

See Also
Load

Property Documentation

string RemotePackageManager.BaseUrl
staticget

Base url to compose the final package url in runtime.

RemotePackageManager's base URL string.

bool RemotePackageManager.HasInstance
staticget

Gets a value indicating whether RemotePackageManager has instance.

true if RemotePackageManager has instance; otherwise, false.


The documentation for this class was generated from the following file: