Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to connect Listitems to a bool

$
0
0
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

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>