示例#1
0
 public void Cleanup()
 {
     if (this != null)
     {
         StopAllCoroutines();
         _player      = null;
         _weaponState = null;
     }
 }
示例#2
0
 private void HandleWeaponChanged(WeaponController.WeaponState weaponState)
 {
     _weaponState = weaponState;
     UpdateWeaponName();
     UpdateWeaponCooldown();
 }