mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Add StageProgressNextUpdate
This commit is contained in:
parent
82a34f8ea8
commit
e43a50522b
1 changed files with 9 additions and 0 deletions
|
@ -630,6 +630,15 @@ namespace RJW_Menstruation
|
|||
}
|
||||
}
|
||||
|
||||
public float StageProgessNextUpdate
|
||||
{
|
||||
get
|
||||
{
|
||||
if (pregnancy != null) return StageProgress;
|
||||
return Mathf.Clamp01((float)(curStageTicks + TickInterval * Configurations.CycleAcceleration) / currentIntervalTicks);
|
||||
}
|
||||
}
|
||||
|
||||
public Texture2D GetStageTexture
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Reference in a new issue