Beispiel #1
0
 private void OnPlayerCharging(WeaponCharger.WeaponChargeChanged weaponChargeChangedCharge)
 {
     this.UpdateStateIfChanged(PlayerAnimationState.Charging);
 }
 private void OnWeaponChargeChanged(WeaponCharger.WeaponChargeChanged weaponChargeChanged)
 {
     this.WeaponCharge.text = string.Format("{0:F1} / {1:F1}", weaponChargeChanged.Charge.Current, weaponChargeChanged.Charge.Max);
 }
Beispiel #3
0
 private void OnWeaponCharging(WeaponCharger.WeaponChargeChanged chargeChanged)
 {
     this.Freezed = chargeChanged.Charge.IsCharging;
 }