0
Q:

unity check if a gameobject has a component

 if(gameObjectToCheck.GetComponent<Rigidbody>() != null) { //do something }
3

New to Communities?

Join the community