Method GetTimeOfDay
GetTimeOfDay()
Time.time is the unity elapsed time in seconds * the multiplier in case one unity simulation second should be more then add that to the time the simulation started and we have our current TimeOdDay
Declaration
public DateTime GetTimeOfDay()
Returns
Type | Description |
---|---|
DateTime | The current date time that the simulation is at when this function is called |