Tanoda
GILES.Interface.pb_ModalWindow Class Reference
Inheritance diagram for GILES.Interface.pb_ModalWindow:
GILES.pb_MonoBehaviourSingleton< pb_ModalWindow >

Static Public Member Functions

static void SetTitle (string title)
 
static void Show ()
 
static bool IsVisible ()
 
static void Hide ()
 
static void SetContent (GameObject prefab)
 

Public Attributes

GameObject contents
 
Text windowTitle
 

Additional Inherited Members

- Protected Member Functions inherited from GILES.pb_MonoBehaviourSingleton< pb_ModalWindow >
virtual void Initialize ()
 
virtual void Awake ()
 
- Properties inherited from GILES.pb_MonoBehaviourSingleton< pb_ModalWindow >
virtual bool dontDestroyOnLoad [get]
 Override to maintain an instance of this object across level loads. More...
 
static T instance [get]
 
static T nullableInstance [get]
 

Detailed Description

A singleton window instance that takes control of the screen when initialized.

Definition at line 12 of file pb_ModalWindow.cs.

Member Function Documentation

◆ Hide()

static void GILES.Interface.pb_ModalWindow.Hide ( )
static

Definition at line 50 of file pb_ModalWindow.cs.

◆ IsVisible()

static bool GILES.Interface.pb_ModalWindow.IsVisible ( )
static

Definition at line 42 of file pb_ModalWindow.cs.

◆ SetContent()

static void GILES.Interface.pb_ModalWindow.SetContent ( GameObject  prefab)
static

Add an already instantiated prefab to the contents of this window.

Definition at line 59 of file pb_ModalWindow.cs.

◆ SetTitle()

static void GILES.Interface.pb_ModalWindow.SetTitle ( string  title)
static

Set the title text shown for this window.

Definition at line 27 of file pb_ModalWindow.cs.

◆ Show()

static void GILES.Interface.pb_ModalWindow.Show ( )
static

Definition at line 32 of file pb_ModalWindow.cs.

Member Data Documentation

◆ contents

GameObject GILES.Interface.pb_ModalWindow.contents

Place content GUI items as content's children.

Definition at line 17 of file pb_ModalWindow.cs.

◆ windowTitle

Text GILES.Interface.pb_ModalWindow.windowTitle

The title shown in the header bar.

Definition at line 22 of file pb_ModalWindow.cs.


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