Skip to content

Commit c253550

Browse files
committed
[修改] 修改回收函数的权限
1 parent 12381d7 commit c253550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GameFrameX.Core/Abstractions/IActor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public interface IActor : IWorker
7777
/// 并获取它们对应的代理实例。这个方法通常用于需要批量处理或遍历所有活跃组件的场景。
7878
/// </remarks>
7979
/// <returns>返回包含所有已激活组件代理实例的列表</returns>
80-
public List<IComponentAgent> GetActiveComponentAgents();
80+
List<IComponentAgent> GetActiveComponentAgents();
8181

8282
/// <summary>
8383
/// 设置自动回收标记
@@ -152,7 +152,7 @@ public interface IActor : IWorker
152152
/// - 断开网络连接等
153153
/// </remarks>
154154
/// <returns>表示异步操作的任务</returns>
155-
internal Task OnRecycle();
155+
Task OnRecycle();
156156

157157
/// <summary>
158158
/// 添加一个在Actor回收时执行一次的回调事件

0 commit comments

Comments
 (0)