Class ScriptProcessor
- Namespace
- Stride.Engine.Processors
- Assembly
- Stride.Engine.dll
Manage scripts
public sealed class ScriptProcessor : EntityProcessor<ScriptComponent>
- Inheritance
-
ScriptProcessor
- Inherited Members
Constructors
ScriptProcessor()
public ScriptProcessor()
Methods
OnEntityComponentAdding(Entity, ScriptComponent, ScriptComponent)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, ScriptComponent component, ScriptComponent associatedData)
Parameters
entityEntityThe entity.
componentScriptComponentassociatedDataScriptComponent
OnEntityComponentRemoved(Entity, ScriptComponent, ScriptComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, ScriptComponent component, ScriptComponent associatedData)
Parameters
entityEntityThe entity.
componentScriptComponentassociatedDataScriptComponent
OnSystemAdd()
Run when this EntityProcessor is added to an EntityManager.
protected override void OnSystemAdd()