NotificationModule - HueSamai/CementSource GitHub Wiki
NotificationModule
This simple module allows mods to implement their own "toasts", or popups in the corner of the screen, giving the user information. They rely on a sort of "queue" system. The module keeps track of the instances currently active, and makes sure one isn't instantiated if the max number (maxActiveNotifications
) of toasts has been reached.
The only public method is NotificationModule.Send
. More details below.
NotificationModule.Send(string title="hello title!", string content="hello content!", float timer=1f)
TODO: More info needed.