Exemple #1
0
        private void Start()
        {
            PlayerLifeManager playerLifeManager = GetComponent <PlayerLifeManager>();
            PlayerStatusData  playerData        = PlayerStatusService.LoadPlayerStatus();

            playerData.SwapStoredShields();
            amountShields = playerData.GetShieldBuff();
            int initialAmountShields = amountShields;

            PlayerStatusService.SavePlayerStatus(playerData);

            UpdateShieldText();
        }
 private void Start()
 {
     playerLifeManager = GetComponent <PlayerLifeManager>();
 }