Google. Play. Common. LoadingScreen. LoadingScreen
Downloads the AssetBundle available at AssetBundleUrl and updates LoadingBar with its progress.
Summary
Inheritance
Inherits from: MonoBehaviour
Public attributes |
|
---|---|
AssetBundleUrl
|
string
The URL used to fetch the AssetBundle on Start.
|
LoadingBar
|
The LoadingBar used to indicated download and install progress.
|
RetryButton
|
Button
The button displayed when a download error occurs.
|
Public functions |
|
---|---|
ButtonEventRetryDownload()
|
void
Attempts to retry the AssetBundle download one time.
|
Public attributes
AssetBundleUrl
string AssetBundleUrl
The URL used to fetch the AssetBundle on Start.
RetryButton
Button RetryButton
The button displayed when a download error occurs.
Should call ButtonEventRetryDownload in its onClick() event.
Public functions
ButtonEventRetryDownload
void ButtonEventRetryDownload()
Attempts to retry the AssetBundle download one time.