cull(engine-cleanup): pass-8 phase-2 cascade round 2 after MyPageItemBattle stub

This commit is contained in:
gamer147
2026-07-03 21:52:04 -04:00
parent 006a6ae7ab
commit 22ef593593
26 changed files with 1 additions and 769 deletions

View File

@@ -6,39 +6,6 @@ public class FadeUtility
{
private static readonly AnimationCurve FADE_ALPHA_ANIM_CURVE = AnimationCurve.Linear(0f, 0f, 1f, 1f);
private static void FadeOut(GameObject obj, Action onFinish)
{
UIButtonColor button = obj.GetComponent<UIButtonColor>();
float originalDuration = 0f;
if (button != null)
{
originalDuration = button.duration;
button.duration = 0f;
}
TweenColor component = obj.GetComponent<TweenColor>();
if (component != null)
{
component.enabled = false;
}
FadeOutObject(obj.AddMissingComponent<UITweenAlpha>(), delegate
{
if (button != null)
{
button.duration = originalDuration;
}
onFinish();
});
}
public static void FadeFinish(GameObject obj)
{
UITweenAlpha component = obj.GetComponent<UITweenAlpha>();
if (!(component == null))
{
component.End();
}
}
public static void FadeOutObject(UITweenAlpha tweenAlpha, Action onFinish = null)
{
if (!(tweenAlpha == null))