Как обратиться к сценарию в Unity
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;
Handsome Hornet
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;