Using Struct to array

7079482--842239--upload_2021-4-27_3-22-45.png
I use like that.
On this case, how can i use variable from s_ObjectPlace to class?

Can you explain your question further? I’m not sure what you’re asking.

2 Likes

The weird thing about this Q is the form of both structs and arrays are identical but the Q is about the second one. It’s almost as if someone showed them how to add items to an array in the Inspector, but now they forgot.

2 Likes
  1. You dont need any header if you use struct,name of struct will be used as title in inspector what you need is this :
[SerializedField]
s_SpecificTile specificTile = new sSpecificTile();

Then you can acces it like specificTile.sTileX , initialization should be done in variable area.

7100140--846223--req.png