(client) feat:添加事件定义,定义部分怪物
This commit is contained in:
@ -208,6 +208,8 @@ public class Program : Singleton<Program>
|
||||
|
||||
// 更新内部状态
|
||||
FocusedEntity = entity;
|
||||
if(FocusedDimension)
|
||||
FocusedDimension.focusEntity=entity;
|
||||
|
||||
// 触发事件,将新的焦点实体(或 null)作为参数传递。
|
||||
OnFocusedEntityChanged?.Invoke(FocusedEntity);
|
||||
|
Reference in New Issue
Block a user