So i was running some tooltips in varius windows, and i noticed these tooltips still appeared despite having closed the window in my code.
So i look into it and find that despite me deactivating the container the objects that the tooltip script was on - any child object of the deactivated parent was still considered active?
So as to my question, barring literally putting some script to auto-deactivate based on parents activation (which seems incredibly inefficient and also not good incase i want this feature as intended) - is there any other way ? Perhaps im missing something in the inspector that sets the activation of the object equal to its parent?
Because if you have 100s if not 1000s of objects, looping through each with a script (not even mentioning having to know what object the script is on and/or if you missed one, this seems like a huge oversight.
so what can i do? And what would the most efficient solution be?
TLDR: Child remains active, despite de-activating parent, which creates a bug because script keeps running due to that fact.
I have already tried in code checking the object, and checking the parent would be incredibly hard due to tooltips being on several different menu’s with different parents.
Thankyou for your time!