fix:1、添加项目

This commit is contained in:
2026-04-22 09:52:55 +08:00
commit 173cfb2dc9
5871 changed files with 600870 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
using System;
using DG.Tweening;
using FairyGUI;
using FlowerPower;
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();
}
}
}