Skip to content

AddEntity with Templates #5

@Selmar

Description

@Selmar

Description

World.AddEntity exists for creating new entities via tags. This works great, but for authoring this requires to create a script for each template. As a simple intermediate solution for authoring, I'd like to be able to add entities with a Template instance as well.

Use Case

This would make it possible to create authoring scripts more easily, via class Authoring<T> : Authoring where T : ITemplate { ... }.

Proposed Solution

No response

Alternatives Considered

An alternative way to help automate authoring would be to use code-gen to generate authoring scripts for templates, and editor scripts for the components. That is probably my long-term solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions