using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AddressableAssets.ResourceLocators; using UnityEngine.ResourceManagement.AsyncOperations; public class VersionUpdateParam { public AsyncOperationHandle OP { get; private set; } public VersionUpdateParam(AsyncOperationHandle oP) { OP = oP; } } public class VersionUpdater { private static void SetVersionUpdateUIParam(AsyncOperationHandle op) { VersionUpdateParam param = new VersionUpdateParam(op); var versionUpdateUI = UnityEngine.Object.FindObjectOfType(); versionUpdateUI.SetParams(param); } }