Quantum 3 3.0.14

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

Prototype of the NavMeshAvoidanceAgent Quantum component. More...

Inherits Quantum.ComponentPrototype< Quantum.NavMeshAvoidanceAgent >.

Public Member Functions

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

Detailed Description

Prototype of the NavMeshAvoidanceAgent Quantum component.

Member Function Documentation

◆ AddToEntity()

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

Creates an instance of the NavMeshAvoidanceAgent 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.NavMeshAvoidanceAgentPrototype.Materialize ( FrameBase  frame,
ref Quantum.NavMeshAvoidanceAgent  component,
in PrototypeMaterializationContext  context 
)
inline

Applies the prototype's fields to the actual component.