Prototype of the NavMeshPathfinder Quantum component.
More...
Inherits Quantum.ComponentPrototype< Quantum.NavMeshPathfinder >.
Prototype of the NavMeshPathfinder Quantum component.
◆ AddToEntity()
| sealed override bool Quantum.Prototypes.NavMeshPathfinderPrototype.AddToEntity |
( |
FrameBase |
f, |
|
|
EntityRef |
entity, |
|
|
in PrototypeMaterializationContext |
context |
|
) |
| |
|
inline |
Creates an instance of the NavMeshPathfinder component, materializes and adds it to the entity.
- Parameters
-
- Returns
- Returns
true if adding the component to the entity succeeds.
◆ Materialize()
Applies the prototype's fields to the actual component.
- Parameters
-
◆ AgentConfig
The configuration asset with the setup for this nav mesh agent.
◆ InitialTarget
An initial position which is automatically set as a target when this prototype is materialized.
◆ InitialTargetNavMesh
| AssetRef<NavMesh> Quantum.Prototypes.NavMeshPathfinderPrototype.InitialTargetNavMesh |
The NavMesh asset used to set an initial target position when this prototype is materialized.
◆ InitialTargetNavMeshName
| string Quantum.Prototypes.NavMeshPathfinderPrototype.InitialTargetNavMeshName |
The name of the NavMesh used to set an initial target position when this prototype is materialized.