提交完美

This commit is contained in:
PC-20230316NUNE\Administrator
2024-10-17 20:36:24 +08:00
parent 0d600a2786
commit b0a2e4a900
1522 changed files with 40000 additions and 15615 deletions

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 85b54dfd85b9427d879cbc1e60d07160
timeCreated: 1729145138

View File

@@ -0,0 +1,48 @@
using Common;
using Cysharp.Threading.Tasks;
using DG.Tweening;
using FairyGUI;
using SHFrame;
using UnityEngine;
namespace HotScripts.GameScripts.FGui.Scripts.Common
{
public class TipTitleUI : UIBase
{
private UI_TipTitleUI UIView => View as UI_TipTitleUI;
public override void OnInit()
{
}
public override async void OnOpen(params object[] param)
{
if (param.Length > 0)
{
UIView.m_item.m_title.text = $"{param[0]}";
}
UIView.m_item.pivot = new Vector2(0, 0);
DOTween.To(() => UIView.m_item.pivot.x, x => UIView.m_item.pivot = new Vector2(x, 0), 1, 0.25f);
await UniTask.Delay(1250);
DOTween.To(() => UIView.m_item.pivot.x, x => UIView.m_item.pivot = new Vector2(x,0), 0f, 0.25f)
.OnComplete(Close);
}
public override void AddListener()
{
}
public override void OnClose()
{
}
public override void RemoveListener()
{
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: b9bbb422382e47b381fbc5ae2683336e
timeCreated: 1729145166

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0f96b21e921648a898ba796d5fe385fb
timeCreated: 1729145979

View File

@@ -0,0 +1,39 @@
using FairyGUI;
using Hall;
using SHFrame;
namespace HotScripts.GameScripts.FGui.Scripts.Hall
{
public class HallUI : UIBase
{
public UI_HallUI UIView => View as UI_HallUI;
public override void OnInit()
{
}
public override void OnOpen(params object[] param)
{
}
public override void AddListener()
{
UIView.m_StartSeason.onClick.Add(OnStartSeason);
}
public override void RemoveListener()
{
UIView.m_StartSeason.onClick.Remove(OnStartSeason);
}
private void OnStartSeason(EventContext context)
{
App.UI.Tip("暂时未开启赛季");
}
public override void OnClose()
{
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8ec13d47cad746748cb0a337fd707fd0
timeCreated: 1729145986