Rasagar/Library/PackageCache/com.unity.ugui/Tests/Runtime/UGUI/Graphic/ToggleTestImageHook.cs
2024-08-26 23:07:20 +03:00

15 lines
437 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);
}
}