mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
提交完美
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85b54dfd85b9427d879cbc1e60d07160
|
||||
timeCreated: 1729145138
|
@@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b9bbb422382e47b381fbc5ae2683336e
|
||||
timeCreated: 1729145166
|
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0f96b21e921648a898ba796d5fe385fb
|
||||
timeCreated: 1729145979
|
@@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ec13d47cad746748cb0a337fd707fd0
|
||||
timeCreated: 1729145986
|
Reference in New Issue
Block a user