How to merge an arrays into arrays inside an array?

I can’t access an array inside an array in unity inspector.
so instead I have an idea to make those array into an array
or called array inside an array

I have these 2 public arrays:

public GameObject[] darkTiles;
public GameObject[] whiteTiles;

and then add another array that store these arrays:

GameObject[] tilesOb = new GameObject[2];
        tilesOb[0] = darkTiles;
        tilesOb[1] = whiteTiles;

easy, right?
well, not that fast, unity can’t do the code,
can you help me to answer a solution?

You are trying to put an array into a GameObejct reference.

This will probably compile:

GameObject[][] tilesOb = new GameObject[][2];
tilesOb[0] = darkTiles;
tilesOb[1] = whiteTiles;

However I don’t think this is good use of arrays. Why not use a multi-dimensional GameObject[,] array instead of an array of arrays? Arrays of arrays are a good way to get lost very fast and they are barely maintainable and error-prone as F.

This is the only way i can think right now for serializing 2 arrays in the inspector but probably there is another way

public YourSerializableArray[] darkTiles;

[System.Serializable]public struct YourSerializableArray
{
    public GameObject[] whiteTiles;
}

My own solution(based on @AbandonedCrypt answer):

    public GameObject[] darkTiles;
    public GameObject[] whiteTiles;
    GameObject[,] tilesOb = new GameObject[11, 2];

    void Start()

{
    
    for(int i = 0; i <= 11; i++)
    {
        tilesOb[i, 0] = darkTiles*;*

}
for (int i = 1; i <= 11; i++)
{
tilesOb[i, 1] = whiteTiles*;*
}

}