Beispiel #1
0
 private void SetupHealthDisplay()
 {
     healthDisplayScript = healthDisplay.GetComponent <HealthTextTemporaryScript>();
     healthDisplayScript.SetCharacterStateName(ConstantStrings.CURRENT_HEALTH);
     healthDisplayScript.SetPlayerStatesManager(statesManager);
 }
Beispiel #2
0
 private void SetupScoreDisplay()
 {
     scoreDisplayScript = scoreDisplay.GetComponent <HealthTextTemporaryScript>();
     scoreDisplayScript.SetCharacterStateName(ConstantStrings.SCORE);
     scoreDisplayScript.SetPlayerStatesManager(statesManager);
 }