Hi guys
So, I have an array in my project that I want to reads its data from a json file if sprite.StorageName equivalent to the array name in the json file.
unfortunately, I don't exactly know how to write this in json and what events I should add in construct
My json file is like this(I don't know if it is in appropriate form or not)
{
"c2array": true,
"size": [
5,
4,
1
],
"Cabinet_A": [
[
[1, 2, 3, 4],
[1, 2, 3, 4],
[1, 2, 3, 4],
[1, 2, 3, 4]
]
],
"Cabinet_B": [
[
[4, 3, 2, 1],
[4, 3, 2, 1],
[4, 3, 2, 1],
[4, 3, 2, 1]
]
]
}