Quantum 3
3.1.0
An asset that represents a prototype for an entity. Prototypes are a convenient way to define a set of components that can be instantiated at runtime using FrameBase.Create(Quantum.AssetRef<Quantum.EntityPrototype>) or FrameBase.Create(Quantum.EntityPrototype) methods. More...
Public Member Functions | |
| override void | Loaded (IResourceManager resourceManager) |
| Ensures contents of Container are sorted upon loading. More... | |
Public Attributes | |
| ComponentPrototypeSet | Container |
| Container for the components. More... | |
| ComponentPrototypeSet[] | Nested = Array.Empty<ComponentPrototypeSet>() |
| Nested prototypes. More... | |
Properties | |
| int??? | EntityCount [get] |
| Number of entities that will be created if this prototype is materialized. More... | |
An asset that represents a prototype for an entity. Prototypes are a convenient way to define a set of components that can be instantiated at runtime using FrameBase.Create(Quantum.AssetRef<Quantum.EntityPrototype>) or FrameBase.Create(Quantum.EntityPrototype) methods.
|
inline |
Ensures contents of Container are sorted upon loading.
| resourceManager |
| ComponentPrototypeSet Quantum.EntityPrototype.Container |
Container for the components.
| ComponentPrototypeSet [] Quantum.EntityPrototype.Nested = Array.Empty<ComponentPrototypeSet>() |
Nested prototypes.
|
get |
Number of entities that will be created if this prototype is materialized.