Beispiel #1
0
    void LoadEmptyEditLevel(string levelName)
    {
        Destroy(createLevelCanvas.gameObject);

        ShowLevelToolCanvas();
        lvE.SetBlockCanvasShown(true);
        lvE.CreateNewLevel(levelName);
    }
Beispiel #2
0
    public void btn_NewLevel()
    {
        LevelEditor editor = GameObject.FindObjectOfType <LevelEditor> ();

        editor.CreateNewLevel();
    }