Answers for "how to find any component of gameobject itself in untiy"

C#
0

how to find any component of gameobject itself in untiy

GetComponent<ObstacleSpawner>().enabled = false;
GetComponent<CameraScript>().enabled = false;
Posted by: Guest on September-03-2021

Code answers related to "how to find any component of gameobject itself in untiy"

C# Answers by Framework

Browse Popular Code Answers by Language