OldBlueWater/BlueWater/Assets/Distant Lands/Cozy Weather/Contents/Scripts/Utility/CozyUtilities.cs
2023-09-13 14:07:40 +09:00

14 lines
294 B
C#

using UnityEngine;
namespace DistantLands.Cozy {
public class CozyUtilities
{
public Color DoubleGradient(Gradient start, Gradient target, float depth, float time)
{
return Color.Lerp(start.Evaluate(time), target.Evaluate(time), depth);
}
}
}