MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/unity_tutorials/comments/1lilgnd/setactive_is_killing_your_perfs/n0vv0ed/?context=3
r/unity_tutorials • u/[deleted] • Jun 23 '25
3 comments sorted by
View all comments
Show parent comment
2
The parent container active state is not changed. I have 2 containers :- ActiveParticleContainer (active)- HiddenParticleContainer (inactive)
And I simply parent my particle to the Active / Inactive container depending on the need. Awake() is not triggered when doing so.
1 u/ElectricRune Jul 02 '25 Mind blown. I always assumed Awake was triggered on all objects as they became active, even if it wasn't explicitly the object that was activated.
1
Mind blown. I always assumed Awake was triggered on all objects as they became active, even if it wasn't explicitly the object that was activated.
View all comments
Show parent comment
2
u/[deleted] Jul 02 '25
The parent container active state is not changed. I have 2 containers :
- ActiveParticleContainer (active)
- HiddenParticleContainer (inactive)
And I simply parent my particle to the Active / Inactive container depending on the need. Awake() is not triggered when doing so.