Mutlidimensional arrays in editor

Hi, is it possilbe to make mutlidimensional arrays, and to be edited in editor.
I would like to have, Arrays of bool arrays

Example:
Logic Group
Size: 2
>Logic 0:
> Size:2
>boolean 0: false
>boolean 1: true
>Logic 1:
> Size:2
>boolean 0: false
>boolean 1: true

You can make it a list of an inner class with two bool members easily enough. Just make the inner class serializable and the members public. Like:

public List<MyBoolContainer> someBools;

[System.Serializable]
public class MyBoolContainer
{
    public bool someBool1 = false;
    public bool someBool2 = false;
}

… or something.

1 Like

I code in Javascript, could you translate the code please?

Why don’t you give it a try yourself. It’s a pretty simple class.

1 Like