yyl
2025-09-12 c5c6c915069a1f93d10ee3d2c897beca1e100c8d
Main/System/Battle/RecordPlayer/RecordPlayer.cs
@@ -28,7 +28,7 @@
    public void PlayRecord(RecordAction recordAction)
    {
        BattleDebug.LogError("Enqueue record action " + recordAction.GetType());
        // BattleDebug.LogError("Enqueue record action " + recordAction.GetType());
        recordActionQueue.Enqueue(recordAction);
    }
@@ -42,7 +42,7 @@
    public void InsertRecord(RecordAction recordAction)
    {
        BattleDebug.LogError("Insert record action " + recordAction.GetType());
        // BattleDebug.LogError("Insert record action " + recordAction.GetType());
        if (currentRecordAction != null)
        {
            Queue<RecordAction> tempQueue = new Queue<RecordAction>();
@@ -124,7 +124,7 @@
        if (currentRecordAction != null && currentRecordAction.IsFinished())
        {
            BattleDebug.LogError("record action " + currentRecordAction.GetType() + " play finished");
            // BattleDebug.LogError("record action " + currentRecordAction.GetType() + " play finished");
            currentRecordAction = null;
            isWaitingNextAction = true;
            waitTimer = 0f;
@@ -136,7 +136,7 @@
            if (recordActionQueue.Count > 0)
            {
                currentRecordAction = recordActionQueue.Dequeue();
                BattleDebug.LogError("play record action " + currentRecordAction.GetType());
                // BattleDebug.LogError("play record action " + currentRecordAction.GetType());
            }
        }
    }