Class UIManager
This class is responsible for managing all operations to do with the user interface.
Namespace: Global
Assembly: cs.temp.dll.dll
Syntax
public class UIManager : MonoBehaviour
Methods
closePopup()
Closes an opened popup. Used by the close button on the popup panel.
Declaration
public void closePopup()
demoLevel()
Switch to the demo mode for the level generated. Called when the demo level button is pressed.
Declaration
public void demoLevel()
exitLevel()
Returns the user back to the level generation user interface from the demo user interface. Called when the exit level button is pressed.
Declaration
public void exitLevel()
generateLevel()
Creates and validates the settings before calling the level manager to generate the level. Called when the generate level button is pressed.
Declaration
public void generateLevel()
generateRandomLevel()
Creates randomised settings before calling the level manager to generate the level with the randomised settings. Called when the randomise level button is pressed.
Declaration
public void generateRandomLevel()
recenterCamera()
Calls the level camera controller to be recentered around the level. Called when the recenter button is pressed.
Declaration
public void recenterCamera()
showLevelInfo()
Show the level generation information. Called when the level info button is pressed.
Declaration
public void showLevelInfo()
zoomIn()
Calls the level camera controller to zoom into the level. Called when the zoom in button is pressed.
Declaration
public void zoomIn()
zoomOut()
Calls the level camera controller to zoom out of the level. Called when the zoom out button is pressed.
Declaration
public void zoomOut()