Skip to main content

Questions tagged [array]

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

I have already done someting like this for texturecube but here I don't understand what I'm doing wrong. I have the first chance exception error message. Below how I proceed: create a texture for ...
philB's user avatar
  • 331
0 votes
1 answer
75 views

Here is the code for my forward selection: ...
Lucy Adegbayibi's user avatar
1 vote
1 answer
998 views

I want to have a serialized field with an array of game objects for each item in a global enum, like this: public enum MyEnum { Item1, Item2, Item3 } ...
Felox's user avatar
  • 77
0 votes
1 answer
1k views

Found some good tutorials on how to create 2-dimensional arrays in Unity: https://owlcation.com/stem/Using-Single-and-Multi-Dimensional-Arrays-in-C-and-Unity3D Anyone know if this is also supported in ...
kanamekun's user avatar
  • 379
0 votes
0 answers
1k views

I have the following C# code in Unity version 2022.2.0a12: ...
Corvus Ultima's user avatar
0 votes
1 answer
651 views

I have a world which is divided in chunks and saved in a flattened 2d array. The world is currently 80 units wide and high, and each chunk represent a 20x20 unit area. This gives that in my flattened ...
CitiZen's user avatar