Creating Entities

  • Use the Create line to create entities. There are a few Create options like a new Entity from a Asset, or clone a existing entity.

  • Create lines have options to set the start position of the entity / rotation. They also have options creating the Entity and staying in it's 'Edit Mode' state, or starting as Disabled

  • The Create line creates a new local variable. So you could Create a Entity as disabled or in edit mode, change some of it's values, then turn Disabled off or turn on it's play mode.

The Entity is cloned and is set to 'Edit Mode'. A 'HealthSystem' component is added, it's health set to 20, then Playmode is turned on for it.The Entity is cloned and is set to 'Edit Mode'. A 'HealthSystem' component is added, it's health set to 20, then Playmode is turned on for it.

The Entity is cloned and is set to 'Edit Mode'. A 'HealthSystem' component is added, it's health set to 20, then Playmode is turned on for it.