fix:1、更换项目,使用winter来创建

This commit is contained in:
2026-04-22 11:13:16 +08:00
parent 173cfb2dc9
commit 83ff9f71ad
7375 changed files with 209752 additions and 157557 deletions
+32
View File
@@ -0,0 +1,32 @@
using System;
using DG.Tweening;
using FairyGUI;
using LoveLegend;
public static class CommonExpand
{
public static GTweener FadeIn(this GObject obj, float duration = 0.3f, float delay = 0)
{
return CommonHelper.FadeIn(obj, duration, delay);
}
public static GTweener FadeOut(this GObject obj, float duration = 0.3f, float delay = 0)
{
return CommonHelper.FadeOut(obj, duration, delay);
}
public static void SetClick(this GObject button, Action action, bool isNetworkCheck = false,
bool isQuickClickCheck = true)
{
CommonHelper.InitGButton(button, action, isNetworkCheck, isQuickClickCheck);
}
public static void SafeKill(this Tween tween)
{
if (tween != null && tween.IsActive())
{
tween.Kill();
}
}
}