🖼️

UI Dialog

Node to show a customizable UI dialog.

image

Behavior

Once In is called, displays a dialog in front of the user. The dialog can stay forever or will close on timeout.

Calling Close will close the dialog and call Closed output, but nothing else.

image

There are lots of things that can be customized.

Buttons - changes the possible buttons on the dialog, full list is Ok, Cancel, Yes, No. There can be any combination of them. Each button selected will add a unique flow output. If none is selected, there will be no buttons on a dialog - you will have to close it manually or from timer

Image - a sprite to display on a dialog

Title - title text for a dialog

Dialog Text - main body of text in a dialog

Dialog Timer - timer (in seconds) that will close the timer once it run out, will also call Timeout flow output

Image Height/Width - size of the displayed image. Values are not connected to any real world measurements so it is best to change this value and check it in playmode

Close On Button Click - will force dialog to close on any of the button clicked. If unchecked, clicking on buttons will call their outs but will not close the dialog itself

image

Usages

Show a notification with an image, ask questions, notify of agreements, etc.

States

Busy while dialog is shown