修改设置界面
This commit is contained in:
@@ -91,6 +91,8 @@ namespace NBF
|
||||
// loadAssemblies.Add(assembly);
|
||||
// }
|
||||
|
||||
gameObject.AddComponent<Settings>();
|
||||
|
||||
// 1. 初始化 Fantasy 框架
|
||||
await Fantasy.Platform.Unity.Entry.Initialize();
|
||||
|
||||
@@ -151,9 +153,6 @@ namespace NBF
|
||||
|
||||
private void InitUI()
|
||||
{
|
||||
GRoot.inst.SetContentScaleFactor(UIDef.DefaultScreen.Width, UIDef.DefaultScreen.Height,
|
||||
UIContentScaler.ScreenMatchMode.MatchWidthOrHeight);
|
||||
|
||||
Binder.BindAll();
|
||||
UIObjectFactory.SetLoaderExtension(typeof(XGLoader));
|
||||
UIConst.UIPackRootUrl = UIDef.UIRoot;
|
||||
|
||||
Reference in New Issue
Block a user