UIManager

public class UI.UIManager

CyberPsychosis    >    UI    >    UIManager

Summary

Works similar to a state machine, but slightly altered to enable and disable objects. Handles the game UI screens from code.

Example Usage

using UnityEngine;

public class ExampleClass : MonoBehaviour
{
    void Start()
    {
        UIManager.SwitchState<ShopState>();
    }
}