Quantum 3 3.0.5

Public Member Functions | Public Attributes | List of all members
Quantum.EntityPrototype Class Reference

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, Native.Allocator allocator)
 Ensures contents of Container are sorted upon loading. More...
 

Public Attributes

ComponentPrototypeSet Container
 Container for the components. More...
 

Detailed Description

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.

Member Function Documentation

◆ Loaded()

override void Quantum.EntityPrototype.Loaded ( IResourceManager  resourceManager,
Native.Allocator  allocator 
)
inline

Ensures contents of Container are sorted upon loading.

Parameters
resourceManager
allocator

Member Data Documentation

◆ Container

ComponentPrototypeSet Quantum.EntityPrototype.Container

Container for the components.