So, there’s a GetComponentInChildren option, but I see no equivalent option for grabbing a component from a parent, or more specifically, the top of the heirarchy.
Any simple way to do this?
So, there’s a GetComponentInChildren option, but I see no equivalent option for grabbing a component from a parent, or more specifically, the top of the heirarchy.
Any simple way to do this?
transform.root.GetComponent();
–Eric
You ****ing rock, you know that? It worked perfectly.
Thank you so much!