wie man Referecne zu Skript in Einheit hat

private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;
Handsome Hornet