public void OpenGenerator() { CurrentModelIndex = 0; VoxelFilePath = ""; Data = VoxelData.CreateNewData(); // Node Open if (Data) { foreach (var gp in Data.Groups) { if (!NodeOpen.ContainsKey(gp.Key)) { NodeOpen.Add(gp.Key, false); } } } // Switch Model SwitchModel(CurrentModelIndex); Load_Generation(); DataDirty = false; }
public void OpenCombiner() { CurrentModelIndex = 0; VoxelFilePath = ""; Data = VoxelData.CreateNewData(); // Node Open if (Data) { foreach (var gp in Data.Groups) { if (!NodeOpen.ContainsKey(gp.Key)) { NodeOpen.Add(gp.Key, false); } } } SwitchModel(CurrentModelIndex); ClearScene(); CombineList.Clear(); SelectingPrefabIndex = -1; DataDirty = false; }