Jak odwołać się do scenariusza w jedności

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