Example #1
0
    protected override bool DrawWizardGUI()
    {
        mapName = TerrainEditor.GetLoadMapName();
        if (mapName.Count > 0 && selectIndex == -1)
        {
            selectIndex = 0;
        }
        int index = EditorGUILayout.Popup("地形列表", selectIndex, mapName.ToArray());

        selectIndex = index;
        return(selectIndex != -1);
    }