↧
Answer by Hoeloe
If you're using C#, you can use the generic datatype Tuple to store those two different types. Arrays, in general, can only store one type, but by wrapping both types into a single container, you can...
View ArticleAnswer by Brahim113
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:...
View Article