Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class GameManager : MonoBehaviour {
- [HideInInspector]
- public GameState State; // This will be accessible from code but hidden in the inspector.
- public enum GameState {
- MainMenu,
- Playing,
- Paused,
- Victory,
- Defeat
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement