using System; using System.Collections; using System.Collections.Generic; using Ichni.RhythmGame.Beatmap; using UnityEngine; using UnityEngine.Events; namespace Ichni.RhythmGame { public class BeatmapContainer : IBaseElement { public List gameElementList; [NonSerialized] public List lowPriorityActions; public BaseElement_BM matchedBM { get; set; } public BeatmapContainer() { gameElementList = new List(); lowPriorityActions = new List(); // UniRx Observable.EveryUpdate 已移除:低优先级操作由 ElementUpdateScheduler Phase 8 在 TickLate 中驱动 } public void ExecuteLowPriorityActions() { if (lowPriorityActions.Count > 0) { lowPriorityActions.ForEach(low => low.Invoke()); lowPriorityActions.Clear(); } } public void SetUpInspector() { throw new System.NotImplementedException(); } public void Refresh() { throw new System.NotImplementedException(); } } }