Quantum 3 3.0.13

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

Prototype of the CharacterController2D Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.CharacterController2D >.

Public Member Functions

sealed override bool AddToEntity (FrameBase f, EntityRef entity, in PrototypeMaterializationContext context)
 Creates an instance of the CharacterController2D component, materializes and adds it to the entity. More...
 
unsafe void Materialize (FrameBase frame, ref CharacterController2D component)
 
void Materialize (FrameBase frame, ref Quantum.CharacterController2D result, in PrototypeMaterializationContext context)
 Applies the prototype's fields to the actual component. More...
 

Public Attributes

AssetRef< CharacterController2DConfigConfig
 The CharacterController2D configuration asset. More...
 

Detailed Description

Prototype of the CharacterController2D Quantum component.

Member Function Documentation

◆ AddToEntity()

sealed override bool Quantum.Prototypes.CharacterController2DPrototype.AddToEntity ( FrameBase  f,
EntityRef  entity,
in PrototypeMaterializationContext  context 
)
inline

Creates an instance of the CharacterController2D component, materializes and adds it to the entity.

Parameters
f
entity
context
Returns
Returns true if adding the component to the entity succeeds.

◆ Materialize()

void Quantum.Prototypes.CharacterController2DPrototype.Materialize ( FrameBase  frame,
ref Quantum.CharacterController2D  result,
in PrototypeMaterializationContext  context 
)
inline

Applies the prototype's fields to the actual component.

Member Data Documentation

◆ Config

AssetRef<CharacterController2DConfig> Quantum.Prototypes.CharacterController2DPrototype.Config

The CharacterController2D configuration asset.