Example #1
0
        public void InitInGame()
        {
            p_references.Init();
            if (states.r_manager == null)
            {
                states.r_manager = gameSettings.r_manager;
            }
            states.LoadPlayerProfile(gameSettings.playerProfile);
            states.Init();
            camHandler.Init(this);

            UpdatePlayerReferencesForWeapon(states.w_manager.GetCurrentWeapon());
            updateUI = true;

            isInit = true;
        }
 public void InitInGame()
 {
     states.Init();
     isInit = true;
 }