Entitas
0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
IComponent.cs
1
namespace
Entitas
{
2
3
/// Implement this interface if you want to create a component which
4
/// you can add to an entity.
5
/// Optionally, you can add these attributes:
6
/// [SingleEntity]: the code generator will generate additional methods for
7
/// the pool to ensure that only one entity with this component exists.
8
/// E.g. pool.isAnimating = true or pool.SetResources();
9
/// [MyPoolName, MyOtherPoolName]: You can make this component to be
10
/// available only in the specified pools.
11
/// The code generator can generate these attributes for you.
12
/// More available Attributes can be found in CodeGenerator/Attributes.
13
public
interface
IComponent
{
14
}
15
}
Entitas
Definition:
EntitasCache.cs:3
Entitas.IComponent
Definition:
IComponent.cs:13
Entitas
Entitas
Interfaces
IComponent.cs
Generated by
1.8.12