- Home /
 
 
               Question by 
               mwozniak93 · Aug 27, 2015 at 12:31 PM · 
                staticmanagerstate  
              
 
              Game Manager - simply use static variables?
Hi! I was reading about game manager. It's purpose is to simplify access to variables which mostly represent current state of game, or selected character, weapon etc...
My question is: Can I just have class where I would have:
 public static bool isRunning
 public static bool isLoading
 public static Player currentCharacter
 public static Weapon currentWeapon
 
               or do I need and why I need solution described here: https://unity3d.com/learn/tutorials/projects/2d-roguelike-tutorial/writing-game-manager
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
State problem from tutorial 2 Answers
Instantiating a Coroutine? 2 Answers
Creating a global function, callable from anywhere 1 Answer
How do I have an EditorWindow save it's data inbetween opening and closing Unity? C# 5 Answers
ResourceManager problem 0 Answers