移动和旋转
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user