private void Awake() { _playerMovement = GetComponent <PlayerMovement>(); _playerShooting = GetComponentInChildren <PlayerShooting>(); _playerSnapshot = GetComponent <PlayerSnapshot>(); _playerHealth = GetComponent <PlayerHealth>(); _playerPrediction = GetComponent <PlayerPrediction>(); _shootableMask = LayerMask.GetMask("Shootable"); _rigidBody = GetComponent <Rigidbody>(); }
private void Awake() { _playerMovement = GetComponent <PlayerMovement>(); _playerSnapshot = GetComponent <PlayerSnapshot>(); }