yyl
2025-09-18 871594462e82d6bc1341918d39e11ab036d59563
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using UnityEngine;
 
//    record直接全程播放就好了 不需要其他操作
 
public class RecordModeOperationAgent : IOperationAgent
{
    //    GameNetPackage[] packs
 
 
 
 
    public RecordModeOperationAgent(BattleField battleField) : base(battleField)
    {
        
    }
 
    public override void Run()
    {
        base.Run();
 
        DoNext();
    }
 
    public override void DoNext()
    {
        base.DoNext();
 
        if (battleField.IsBattleEnd())
        {
            return;
        }
 
        if (!battleField.recordPlayer.IsPlaying())
        {
            battleField.DistributeNextPackage();
        }
    }
}