IndieGame/client/Packages/com.unity.ugui@1.0.0/Tests/Runtime/Graphic/ToggleTestImageHook.cs
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00

15 lines
440 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToggleTestImageHook : Image
{
public float durationTween;
public override void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB)
{
durationTween = duration;
base.CrossFadeColor(targetColor, duration, ignoreTimeScale, useAlpha, useRGB);
}
}