Cómo tener referencias a script en Unity
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;
Handsome Hornet
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;