void Start()
    {
        CaseClass = GetComponent <CaseClass>();
        LabyClass = GetComponent <LabyClass>();
        X         = taillemap / 2;
        Y         = taillemap / 2;
        LabyClass.Laby a = new LabyClass.Laby(X, Y);
        a.generer();
        GameObject ground = GameObject.Instantiate(Resources.LoadAssetAtPath("Assets/Prefabs/Ground.prefab", typeof(GameObject))) as GameObject;

        ground.transform.localScale = new Vector3(2, 2, 2);
        ground.transform.position   = new Vector3(X / 2, 0, Y / 2);

        if (generateArena(a, X, Y))
        {
            Debug.Log("Generation du terrain terminée");
        }
        else
        {
            Debug.Log("Error");
        }
    }
    void Start()
    {
        CaseClass = GetComponent<CaseClass>();
        LabyClass = GetComponent<LabyClass>();
        X = taillemap/2;
        Y = taillemap/2;
        LabyClass.Laby a = new LabyClass.Laby(X, Y);
        a.generer();
        GameObject ground = GameObject.Instantiate( Resources.LoadAssetAtPath("Assets/Prefabs/Ground.prefab", typeof(GameObject)) ) as GameObject;
        ground.transform.localScale = new Vector3(2,2,2);
        ground.transform.position = new Vector3(X/2,0,Y/2);

        if(generateArena(a, X, Y))
            Debug.Log("Generation du terrain terminée");
        else
            Debug.Log("Error");
    }