提交完美

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,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