Version: 2023.1
LanguageEnglish
  • C#

RemoteSettings.Updated

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Dispatched when a remote settings configuration is fetched and successfully parsed from the server or from local cache.

Updated is always dispatched unless the computer or device has no Internet connection or cannot communicate with the Analytics Service, and no local, cached version of the remote settings file exists. This situation can occur when a player has no network connection the first time they run your game). In this situation, the RemoteSettings object does not dispatch an Updated event, and so does not update your game variables.

Requesting the remote settings configuration over the network is an asynchronous process that might not complete before your initial Scene has finished loading, or might not complete at all, so you should always initialize your game variables to reasonable defaults.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961