GridGenerator.TestListSerielisation C# (CSharp) Méthode

TestListSerielisation() private méthode

private TestListSerielisation ( ) : void
Résultat void
    private void TestListSerielisation()
    {
        bool passedTest = true;
        foreach(GameObject e in m_grids){
            if(e == null){
                passedTest = false;
            }
        }

        if(!passedTest)
            Debug.Log("Failed TestListSerielisation()");
        else
            Debug.Log("Passed TestListSerielisation()");
        /*
        foreach(GameObject e in m_grids)
        {
            Debug.Log(e);
        }*/
    }