Stay organized with collections
Save and categorize content based on your preferences.
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 attributes
AssetBundleUrl
string AssetBundleUrl
The URL used to fetch the AssetBundle on Start.
Button RetryButton
The button displayed when a download error occurs.
Should call ButtonEventRetryDownload in its onClick() event.
Public functions
void ButtonEventRetryDownload()
Attempts to retry the AssetBundle download one time.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-18 UTC."],[],[],null,["# Google.Play.Common.LoadingScreen.LoadingScreen Class Reference\n\nGoogle.Play.Common.LoadingScreen.LoadingScreen\n==============================================\n\nDownloads the AssetBundle available at AssetBundleUrl and updates [LoadingBar](/reference/unity/class/Google/Play/Common/LoadingScreen/LoadingBar#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingBar) with its progress.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: MonoBehaviour\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AssetBundleUrl](#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingScreen_1aea57d5ddf8d1f50b619af742aba0ce79) | `string` The URL used to fetch the AssetBundle on Start. |\n| [LoadingBar](#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingScreen_1a3ce4a7411866555ee9911fabff839d52) | [LoadingBar](/reference/unity/class/Google/Play/Common/LoadingScreen/LoadingBar#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingBar) The [LoadingBar](/reference/unity/class/Google/Play/Common/LoadingScreen/LoadingBar#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingBar) used to indicated download and install progress. |\n| [RetryButton](#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingScreen_1aaf9ab656dff42f28fd7dabb3d2197622) | `Button` The button displayed when a download error occurs. |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|\n| [ButtonEventRetryDownload](#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingScreen_1ac37ab74168553653cb4068361180884a)`()` | `void` Attempts to retry the AssetBundle download one time. |\n\nPublic attributes\n-----------------\n\n### AssetBundleUrl\n\n```c#\nstring AssetBundleUrl\n``` \nThe URL used to fetch the AssetBundle on Start. \n\n### LoadingBar\n\n```c#\nLoadingBar LoadingBar\n``` \nThe [LoadingBar](/reference/unity/class/Google/Play/Common/LoadingScreen/LoadingBar#classGoogle_1_1Play_1_1Common_1_1LoadingScreen_1_1LoadingBar) used to indicated download and install progress. \n\n### RetryButton\n\n```c#\nButton RetryButton\n``` \nThe button displayed when a download error occurs.\n\nShould call ButtonEventRetryDownload in its onClick() event.\n\nPublic functions\n----------------\n\n### ButtonEventRetryDownload\n\n```c#\nvoid ButtonEventRetryDownload()\n``` \nAttempts to retry the AssetBundle download one time."]]