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