Beispiel #1
0
 public void Update(GameTime gametime, bool isActive)
 {
     if (isActive)
     {
         GetInputManager.Update(gametime);
         GetEventLog.Update(gametime);
     }
     if (!GlobalVariables.mGameIsPaused)
     {
         GetStoryManager.Update(gametime);
         GetMilitaryManager.Update(gametime);
         GetClock.Update(gametime);
     }
     GetSoundManager.SetMediaPlayerVolume();
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     dMan = FindObjectOfType <GetClock>();
 }