como ter referecne para script na unidade
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;
Handsome Hornet
private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;