移动和旋转

This commit is contained in:
2025-09-07 23:50:53 +08:00
parent deaca48bf3
commit debfcf41f4
64 changed files with 1017 additions and 810 deletions

View File

@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FairyGUI;
using NBC;
using NBF.Fishing2;
using UnityEngine;
using UnityEngine.Video;
@@ -99,12 +101,12 @@ namespace NBF
public void StartGame()
{
Screen.SetResolution(1280, 720, FullScreenMode.Windowed);
PermanentCommon.Init();
InputDef.LoadIcon();
// UI.Inst.OpenUI<FishingShopPanel>();
LoadData();
CommonTopPanel.Show();
LoginPanel.Show();
OpenUI().Coroutine();
}
private void LoadData()
@@ -112,6 +114,13 @@ namespace NBF
ConfigAssets.Init();
}
private async FTask OpenUI()
{
await Task.Delay(100);
CommonTopPanel.Show();
LoginPanel.Show();
}
#region New
public ControllerType controllerType = ControllerType.GamePad;