From f54e6f2dc42625232e08afb90d7b2678ddd1a7b1 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Sat, 22 Feb 2025 00:33:24 +0800 Subject: [PATCH] =?UTF-8?q?essgee=E7=94=BB=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs index 75bd30e0..b1f7e137 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs @@ -42,7 +42,7 @@ public class UEssgee : MonoBehaviour, IEmuCore EmulatorHandler emulatorHandler; UEGResources uegResources; UEGLog uegLog; - + private Canvas mCanvas; bool lastUserPauseState; double currentPixelAspectRatio; private UEGKeyboard mUniKeyboard; @@ -56,6 +56,8 @@ public class UEssgee : MonoBehaviour, IEmuCore instance = this; uegResources = new UEGResources(); uegLog = new UEGLog(); + mCanvas = GameObject.Find("Canvas").GetComponent(); + mCanvas.worldCamera = Camera.main; //InitAll(uegResources, App.PersistentDataPath(mPlatform)); }