Top Bar - Hawthorn-Games/ProjectScrapped GitHub Wiki

Important Components

Variables

Type Name Description
UiTextElement TextBlockAlerts
GameMode GameMode

Functions

SetErrortext()

Inputs

Type Name Description
Text Text The error message to be displayed

Displays the passed and sets a timer with a 2 seconds delay, before calling HideAlerts()

Could make the duration a parameter

HideAlerts()

Sets the opacity of TextBlockAlerts to 0.

⚠️ **GitHub.com Fallback** ⚠️