using System; using System.Collections.Generic; using AlicizaX; using Cysharp.Threading.Tasks; using UnityEngine; namespace Unity.Startup.Procedure { public class ProcedureEntry : MonoBehaviour { private async UniTaskVoid Start() { await UniTask.WaitUntil(() => YooAsset.YooAssets.Initialized); GameApp.Procedure.InitializeProcedure( new List { new ProcedureEntryState(), new ProcedureGetAppVersionInfoState(), new ProcedureInitPackageState(), new ProcedureDownloadBundleState(), new ProcedurePatchDoneState(), #if ENABLE_HYBRIDCLR new ProcedureLoadAssembly(), #endif new ProcedureUpdateFinishState(), }, typeof(ProcedureEntryState) ); Destroy(gameObject); } } }