Version: 2022.3

RemoteSettings.BeforeFetchFromServer

切换到手册

描述

RemoteSettings 对象发出提取最新设置的网络请求前分发。

using UnityEngine;

public class HandleRemoteSettings : MonoBehaviour { private void Start() { RemoteSettings.BeforeFetchFromServer += RemoteSettingsBeforeFetchFromServer; }

private static void RemoteSettingsBeforeFetchFromServer() { /*...*/ } }