This commit is contained in:
CortexCore
2024-06-24 17:30:44 +08:00
parent 07b6fbc2f3
commit cda86975a0
3 changed files with 79 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using UnityEngine;
using Cysharp.Threading.Tasks;
using System.Threading.Tasks;
@@ -135,6 +136,7 @@ namespace BITKit
BIT4Log.OnWarning += Debug.LogWarning;
BIT4Log.OnException += Debug.LogException;
//启动BITApp
BITApp.SynchronizationContext = SynchronizationContext.Current;
BITApp.Start(Application.productName, new BITApp.AppSettings()).Forget();
AllowCursor = new();