Quantcast
Channel: Answers for "[solved]How can I get multiple properties for the same public array object?"
Viewing all articles
Browse latest Browse all 6

Answer by Brahim113

0
0
Array of struct object that contains what you need? public struct Data { public Texture2D _Texture; public bool _Active; } Data[] _data = new Data[100]; You then use it in a way like this: _data[4]._Active = true; Hope this helps you out.

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images