System Attributes Reference - NocturnalWisp/Tynted-Engine GitHub Wiki

Get Components

Types (Property)

Summary A list of all the types that system looks for in entity components.

Type

  • Type[]

Constructor

Summary Adds the attribute to the class.

Implementation

[GetComponents(params Type[] types)]
public class system : System

Vars

  • types - Array of types.

Require Scenes

scenes (Property)

Summary A list of all the scenes that system looks for entities in.

Type

  • string[]

Constructor

Summary Adds the attribute to the class.

Implementation

[RequireScenes(params string[] scenes)]
public class system : System

Vars

  • scenes - Array of scene names.

Require Tags

tag (Property)

Summary A list of all the tags that system looks for on entities.

Type

  • string[]

Constructor

Summary Adds the attribute to the class.

Implementation

[RequireTags(params string[] tags)]
public class system : System

Vars

  • tags - Array of scene names.

Manager

Summary
Overrides all other attributes and doesn't grab any entities to be used. Basically an entity-less system.

Constructor

Summary Adds the attribute to the class.

Implementation

[Manager]
public class system : System