UpdateSystem<T> 类
Update事件的抽象接口
继承
UpdateSystem<T>
继承成员
命名空间: Fantasy.Entitas.Interface
程序集: Fantasy.Net.dll
语法
public abstract class UpdateSystem<T> : IEntitiesSystem where T : Entity
类型参数
名称 | 描述 |
---|---|
T |
方法
| 编辑本文 查看源代码EntitiesType()
实体的类型
声明
public Type EntitiesType()
返回
类型 | 描述 |
---|---|
Type |
Invoke(Entity)
框架内部调用的触发Update的方法
声明
public void Invoke(Entity self)
参数
类型 | 名称 | 描述 |
---|---|---|
Entity | self | 触发事件的实体实例 |
Update(T)
事件的抽象方法,需要自己实现这个方法
声明
protected abstract void Update(T self)
参数
类型 | 名称 | 描述 |
---|---|---|
T | self | 触发事件的实体实例 |