Hello Lajbert!
In that simple setup, you could simply add a reference to the "player" node script in the script attached to your camera. Let's assume your player node has a script named playerControl.cs attached, and your camera has one named cameraControl.cs attached. In cameraControl.cs you could write:
public class cameraControl : Camera
{
public playerControl _player;
public override void _Ready()
{
_player = GetNode<playerControl>("../../player"); //this reaches the node with the playerControl.cs script attached
}
public void anyFunction()
{
_player.anyVariableFromThePlayerScript = "Whatever you want";
}
}
Edit: Changed the script's names for clarity