Class PauseMenu
Class used to control simulation flow
Play, pause, restart, quit, OnSave, etc.
Inheritance
System.Object
PauseMenu
Namespace: Marus.Core
Assembly: cs.temp.dll.dll
Syntax
public class PauseMenu : MonoBehaviour
Fields
description
Declaration
public string description
Field Value
Type | Description |
---|---|
System.String |
LockCursor
Declaration
public bool LockCursor
Field Value
Type | Description |
---|---|
System.Boolean |
PauseMenuUi
Declaration
public GameObject PauseMenuUi
Field Value
Type | Description |
---|---|
GameObject |
SaveOnExit
Declaration
public bool SaveOnExit
Field Value
Type | Description |
---|---|
System.Boolean |
scenarioName
Declaration
public string scenarioName
Field Value
Type | Description |
---|---|
System.String |
Properties
SavesPath
Declaration
public string SavesPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Exit()
Called from UI button. Not to be called directly
Declaration
public void Exit()
Pause()
Called from UI button. Not to be called directly
Declaration
public void Pause()
Restart()
Called from UI button. Not to be called directly
Declaration
public void Restart()
Resume()
Called from UI button. Not to be called directly
Declaration
public void Resume()
Save()
Declaration
public void Save()