Get Component by Class not returning components in hierarchical order

I would imagine the cast would be in the noise for your situation while also producing more readable code/logic. Like always, performance testing is key to a question like that. Are you running this on tick or is this a oneshot?