using System.Collections; using System.Collections.Generic; using Ichni.RhythmGame; using Ichni.RhythmGame.Beatmap; using UnityEngine; namespace Ichni.RhythmGame { public class CommandScripts : IBaseElement { List commandList; public BaseElement_BM matchedBM { get; set; } public CommandScripts(List commandList) { this.commandList = commandList; } public void SaveBM() { matchedBM = new CommandScripts_BM(commandList); } public void SetUpInspector() { throw new System.NotImplementedException(); } public void Refresh() { throw new System.NotImplementedException(); } } namespace Beatmap { public class CommandScripts_BM : BaseElement_BM { public List commandList; public CommandScripts_BM() { } public CommandScripts_BM(List commandList) { this.commandList = commandList; } public override void ExecuteBM() { EditorManager.instance.commandScripts = new CommandScripts(commandList); } } } }