Antura  1.1.0
Antura.UI.GlobalUI Class Reference

Global UI created dynamically at runtime, contains all global UI elements > Pause, SceneTransitioner, ContinueScreen, PopupScreen More...

Inheritance diagram for Antura.UI.GlobalUI:

Static Public Member Functions

static void Init ()
 
static void Clear (bool includeSceneTransitioner=true)
 Immediately clears the GlobalUI elements More...
 
static void ShowPauseMenu (bool _visible, PauseMenuType _type=PauseMenuType.GameScreen)
 Shows/hides the pause menu More...
 
static void ShowBackButton (bool _doShow, Action _callback=null, bool _disableOnClick=true)
 Shows the BACK button with eventual callback More...
 
static void ShowPrompt (Database.LocalizationDataId id, Action _onYesCallback=null, Action _onNoCallback=null)
 Shows a popup with a YES/NO button and relative callbacks More...
 
static void ShowPrompt (string _messageAr, string _messageEn, Action _onYesCallback=null, Action _onNoCallback=null)
 
static void ClosePrompt ()
 

Public Attributes

UIButton BackButton
 

Properties

static GlobalUI I [get]
 
static SceneTransitioner SceneTransitioner [get]
 
static ContinueScreen ContinueScreen [get]
 
static WidgetPopupWindow WidgetPopupWindow [get]
 
static WidgetSubtitles WidgetSubtitles [get]
 
static PauseMenu PauseMenu [get]
 
static PromptPanel Prompt [get]
 
ActionFeedbackComponent ActionFeedback [get]
 

Detailed Description

Global UI created dynamically at runtime, contains all global UI elements > Pause, SceneTransitioner, ContinueScreen, PopupScreen

Member Function Documentation

◆ Clear()

static void Antura.UI.GlobalUI.Clear ( bool  includeSceneTransitioner = true)
static

Immediately clears the GlobalUI elements

Parameters
includeSceneTransitionerIf TRUE (default) also clears the sceneTransitioner, otherwise not

◆ ClosePrompt()

static void Antura.UI.GlobalUI.ClosePrompt ( )
static

◆ Init()

static void Antura.UI.GlobalUI.Init ( )
static

◆ ShowBackButton()

static void Antura.UI.GlobalUI.ShowBackButton ( bool  _doShow,
Action  _callback = null,
bool  _disableOnClick = true 
)
static

Shows the BACK button with eventual callback

Parameters
_doShowIf TRUE shows it, otherwise hides it
_callbackCallback to fire when button is pressed. If left empty, calls NavigationManager.GoBack

◆ ShowPauseMenu()

static void Antura.UI.GlobalUI.ShowPauseMenu ( bool  _visible,
PauseMenuType  _type = PauseMenuType.GameScreen 
)
static

Shows/hides the pause menu

◆ ShowPrompt() [1/2]

static void Antura.UI.GlobalUI.ShowPrompt ( Database.LocalizationDataId  id,
Action  _onYesCallback = null,
Action  _onNoCallback = null 
)
static

Shows a popup with a YES/NO button and relative callbacks

◆ ShowPrompt() [2/2]

static void Antura.UI.GlobalUI.ShowPrompt ( string  _messageAr,
string  _messageEn,
Action  _onYesCallback = null,
Action  _onNoCallback = null 
)
static

Member Data Documentation

◆ BackButton

UIButton Antura.UI.GlobalUI.BackButton

Property Documentation

◆ ActionFeedback

ActionFeedbackComponent Antura.UI.GlobalUI.ActionFeedback
get

◆ ContinueScreen

ContinueScreen Antura.UI.GlobalUI.ContinueScreen
staticget

◆ I

GlobalUI Antura.UI.GlobalUI.I
staticget

◆ PauseMenu

PauseMenu Antura.UI.GlobalUI.PauseMenu
staticget

◆ Prompt

PromptPanel Antura.UI.GlobalUI.Prompt
staticget

◆ SceneTransitioner

SceneTransitioner Antura.UI.GlobalUI.SceneTransitioner
staticget

◆ WidgetPopupWindow

WidgetPopupWindow Antura.UI.GlobalUI.WidgetPopupWindow
staticget

◆ WidgetSubtitles

WidgetSubtitles Antura.UI.GlobalUI.WidgetSubtitles
staticget

The documentation for this class was generated from the following file: