Package-level declarations

Types

Link copied to clipboard
@Serializable
value class ChildOnPrefab(val components: List<Component>)

A component that adds a child entity to this entity from the components defined in components

Link copied to clipboard
@Serializable
value class ChildrenOnPrefab(val nameToComponents: Map<String, List<Component>>)

A component that will add a list of named children to this entity.

Link copied to clipboard
@Serializable
data class CopyToInstances(temporary: Set<Component> = setOf(), persisting: Set<Component> = setOf())

A component prefabs may use to specify a list of components which should be copied to instances of itself.

Link copied to clipboard
@Serializable
class InheritPrefabs(val from: Set<PrefabKey>)

Will make this entity an instance of all entities defined in from

Link copied to clipboard
class Prefab(val file: Path? = null)

A component applied to prefabs loaded from a file that allows them to be reread.

Link copied to clipboard
@Serializable
data class RelationOnPrefab(val target: String, val data: Component)

A component that will add a relation to this entity with a target, data pair.