Skip to content
SinyavtsevIlya edited this page Apr 9, 2019 · 4 revisions

NanoECS

Entities

Components

Groups

Collectors

Component Templates

Example

[NanoEcs.Game]
class Score
{
    int value;
}

Limitations and Conventions

  • Properties are not allowed, use fields instead.
  • Don't put component prefix at the end.

Attributes

  • If no context-attribute specified, default (first one in settings) context will be chosen

Dependency Injection

Best practices