Entitas
0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Entitas
Entitas
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
/// [Unique]: the code generator will generate additional methods for
7
/// the context to ensure that only one entity with this component exists.
8
/// E.g. context.isAnimating = true or context.SetResources();
9
/// [MyContextName, MyOtherContextName]: You can make this component to be
10
/// available only in the specified contexts.
11
/// The code generator can generate these attributes for you.
12
/// More available Attributes can be found in Entitas.CodeGenerator.Api/Attributes.
13
public
interface
IComponent
{
14
}
15
}
Entitas
Definition:
Collector.cs:4
Entitas.IComponent
Definition:
IComponent.cs:13
Generated by
1.8.13