Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/MainMenu/ConfigIndoor.cs
2025-08-13 09:26:42 +08:00

27 lines
510 B
C#

using System;
using UnityEngine;
namespace MoleMole.MainMenu
{
[Serializable]
public class ConfigIndoor
{
public Color TintColor;
public static ConfigIndoor Lerp(ConfigIndoor config1, ConfigIndoor config2, float t)
{
ConfigIndoor configIndoor = new ConfigIndoor();
configIndoor.TintColor = Color.Lerp(config1.TintColor, config2.TintColor, t);
return configIndoor;
}
public void CopyFrom(ConfigIndoor other)
{
if (other != null)
{
TintColor = other.TintColor;
}
}
}
}