Thank you.
Getting to the previous one is somewhat non-trivial, since its a "floating" instance that has to be detected through some pick expression.
Also, initially, there no other one, so this condition has to be checked as well.
It looks like I need to keep a (tight) record of a mapping:
- each vehicle can have zero to n text pop-up associated -- created in some sequence.
- each pop-up is dynamically destroyed after x seconds
I, btw, tried to keep a record how many pop ups were created as an instance variable in vehicle -- but ended up with a bug to keep this instance synchronized with the actual number of pop ups ---
i still don't know what the bug is -- its not obvious --