Runtime Navmesh Baker 1.3.0
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
Loading...
Searching...
No Matches
Megacrush.RuntimeNavmeshBaker.WelcomeDialog Class Reference
Inheritance diagram for Megacrush.RuntimeNavmeshBaker.WelcomeDialog:

Public Member Functions

 WelcomeDialog ()
 Set instance on reloading the window, else it gets lost after script reload (due to PlayMode changes, ...).
 

Static Public Member Functions

static void ShowWindow ()
 Show the Welcome Dialog window.
 

Private Member Functions

void OnDisable ()
 Unity lifecycle.
 
void OnEnable ()
 Unity lifecycle.
 
void BeforeReload ()
 Make sure we close the window on a domain reload.
 
void OnGUI ()
 UI Drawing.
 

Static Private Member Functions

static void Init ()
 Initialize the window.
 

Static Private Attributes

static WelcomeDialog instance = null
 
static Vector2 minWindowSize = new Vector2(350, 180)
 
static Texture windowHeader
 
static bool showOnStartup = true
 
static int buttonWidth = 175
 

Constructor & Destructor Documentation

◆ WelcomeDialog()

Megacrush.RuntimeNavmeshBaker.WelcomeDialog.WelcomeDialog ( )

Set instance on reloading the window, else it gets lost after script reload (due to PlayMode changes, ...).

Member Function Documentation

◆ BeforeReload()

void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.BeforeReload ( )
private

Make sure we close the window on a domain reload.

◆ Init()

static void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.Init ( )
staticprivate

Initialize the window.

◆ OnDisable()

void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.OnDisable ( )
private

Unity lifecycle.

◆ OnEnable()

void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.OnEnable ( )
private

Unity lifecycle.

◆ OnGUI()

void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.OnGUI ( )
private

UI Drawing.

◆ ShowWindow()

static void Megacrush.RuntimeNavmeshBaker.WelcomeDialog.ShowWindow ( )
static

Show the Welcome Dialog window.

Member Data Documentation

◆ buttonWidth

int Megacrush.RuntimeNavmeshBaker.WelcomeDialog.buttonWidth = 175
staticprivate

◆ instance

WelcomeDialog Megacrush.RuntimeNavmeshBaker.WelcomeDialog.instance = null
staticprivate

◆ minWindowSize

Vector2 Megacrush.RuntimeNavmeshBaker.WelcomeDialog.minWindowSize = new Vector2(350, 180)
staticprivate

◆ showOnStartup

bool Megacrush.RuntimeNavmeshBaker.WelcomeDialog.showOnStartup = true
staticprivate

◆ windowHeader

Texture Megacrush.RuntimeNavmeshBaker.WelcomeDialog.windowHeader
staticprivate

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