CapersProject/Packages/com.distantlands.cozy.core/Runtime/Modules/Utility Modules/CozyDateOverride.cs

30 lines
901 B
C#
Raw Normal View History

2024-06-03 18:26:03 +00:00
// Distant Lands 2024
// COZY: Stylized Weather 3
// All code included in this file is protected under the Unity Asset Store Eula
namespace DistantLands.Cozy
{
public abstract class CozyDateOverride : CozyModule
{
public float yearPercentage;
/// <summary>
/// Returns the current year percentage (0 - 1).
/// </summary>
public abstract float GetCurrentYearPercentage();
/// <summary>
/// Returns the current year percentage (0 - 1) after a number of ticks has passed.
/// </summary>
public abstract float GetCurrentYearPercentage(float inTicks);
/// <summary>
/// Gets the current day plus the current day percentage (0-1).
/// </summary>
public abstract float DayAndTime();
public abstract void ChangeDay(int days);
public abstract int DaysPerYear();
}
}