/DateTimeSystem

A plugin that handles custom date and time for Unreal Engine 5

Primary LanguageC++OtherNOASSERTION

Unreal Engine 5 Custom Date and Time System:

This is a Date and Time System for Unreal Engine 5; It handles Dates and Time in standard or your own custom format.

Pros:

  • Pretty much plug and play; All logic is ran from a single actor DateTimeManager
  • Use standard DateTime or create your own, days, months and week lengths
  • Easy to use; Straight-forward with no bloat
  • Blueprint accessable; No code required
  • Uses timers; Not tick
  • Clean and commented

Cons:

  • Not network replicated

Getting Started:

  1. First thing you need to do is add the DateTimeManager actor to your world

image

  1. Once the actor has been added; tweak the settings to your liking

image

and thats it! You're now all set and can start using the Date and Time plugin!


Using the Plugin:

Using the plugin is very simple; all you need to do is call StartGameTime() and it will start counting time (if you have bStartOnBeginPlay set as true you can skip this).

image

Stopping time is just as easy; Just call StopGameTime().

image

We can directly change time without any delegates firing by using SetGameTime()

image

If you have bUseDefaultDateTime set to true, then the actor we clear all data and replace it with the standard DateTime (Don't use this is we want custom days/months etc)

image

Delegates:

There are a few Delegates that you can bind too when time advances.

image


Tutorial Video

COMING SOON TO A HOOD NEAR YOU!


License

This plugin is licensed under CC BY-NC 4.0.
You can use it for free in commercial and personal projects, but you cannot sell or distribute this plugin or any modified version of it.
See the full license: CC BY-NC 4.0