Entity
Since 0.6
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
id | string | yes | |||
name | string | yes | |||
tags | string[] | yes | |||
transform | Transform | yes | |||
parent | string | no | |||
components | Component[] | yes | |||
prefab | PrefabInstance | no | |||
layer | string | no | The entity's layer, by name (the project's layers): what it collides with and which cameras draw it. Absent: its parent's layer, and "default" at the root. Not the sprite's sortLayer. |
See also
TransformComponentPrefabInstance