Time API

Get Minute

Get the current UniStorm Minute

int CurrentMinute = UniStorm.UniStormSystem.Instance.Minute;

Get Hour

Get the current UniStorm Hour

int CurrentHour = UniStorm.UniStormSystem.Instance.Hour;

SetDate

Sets UniStorm's Date

UniStorm.UniStormManager.Instance.SetDate(int Year, int Month, int Day);

SetTime

Sets UniStorm's Time

UniStorm.UniStormManager.Instance.SetTime (int Hour, int Minute);

CurrentTimeOfDayState

Get the current time of day state

SetDayLength

Sets the length, in minutes, of UniStorm's days

SetNightLength

Sets the length, in minutes, of UniStorm's nights

CurrentDayOfWeek

Gets the current UniStorm day of the week such as Monday, Tuesday, Wednesday, etc.

CurrentDate

Gets the current UniStorm date

Last updated