essgee画面问题

This commit is contained in:
sin365 2025-02-22 00:33:24 +08:00
parent 72edf02773
commit f54e6f2dc4

View File

@ -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<Canvas>();
mCanvas.worldCamera = Camera.main;
//InitAll(uegResources, App.PersistentDataPath(mPlatform));
}