Reference Optimization

Hi,

I want to discuss a case and want to know which is more preferable

If I take reference like

Or taking reference from inspector is more optimized

Both is about the same TBH. If it’s only done the once, the difference is negligible. Even every frame, it would barely register.

It’s more about workflow and I prefer using the Editor as it’s more ‘robust’, it’s not dependent on children order, naming etc.

2 Likes