Files
TEngine/Assets/TEngine/Runtime/ECS/ECSComponent.cs
ALEXTANG 53a929366c Revert "重构Ecs系统"
This reverts commit 5184f1d677.
2022-08-05 15:21:22 +08:00

15 lines
477 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace TEngine
{
/// <summary>
/// ECS构架可以将此组件从Entity上移除这个组件并丢入对象池给其他此刻需要此组件的Entity使用
/// 因此可以节省大量的内存反复创建和释放, 这也是ECS的特性可以大量重复使用组件
/// </summary>
public class ECSComponent:ECSObject
{
#pragma warning disable IDE1006
public Entity Entity { get; set; }
#pragma warning restore IDE1006
}
}