Hello Community
i´m looking for a way to create a List/Array of a class connected to a bool variable to keep track if it´s used or not.
I´m working with the NGUI-Plugin, but i guess my question is a general one.
So i´m having a Debug-UI running were i can track values of every unit in game. Since i´m implemented a spawner for them i have to find a way to attach a not-used UI-Label to a spawned enemy. When he dies the label can be used by another one.
In the inspector i´m adding all available...
How to connect Listitems to a bool
i´m looking for a way to create a List/Array of a class connected to a bool variable to keep track if it´s used or not.
I´m working with the NGUI-Plugin, but i guess my question is a general one.
So i´m having a Debug-UI running were i can track values of every unit in game. Since i´m implemented a spawner for them i have to find a way to attach a not-used UI-Label to a spawned enemy. When he dies the label can be used by another one.
In the inspector i´m adding all available...
How to connect Listitems to a bool