Bagaimana menemukan komponen GameObject di Untiy
GetComponent<ObstacleSpawner>().enabled = false;
GetComponent<CameraScript>().enabled = false;
Handsome Hornet
GetComponent<ObstacleSpawner>().enabled = false;
GetComponent<CameraScript>().enabled = false;