public void SetPlayer(Player _player) { player = _player; controller = player.GetComponent <PlayerController>(); weaponManager = player.GetComponent <WeaponManager>(); }