ProcessComponent¶
Runs an IProcess lifecycle driven by begin/end triggers.
Namespace: Jungle.Processes
Inherits: ControllableComponent → MonoBehaviour
Overview¶
ProcessComponent manages an IProcess through its full lifecycle — begin and end — using triggers inherited from ControllableComponent. When the begin trigger fires, the configured process starts. When the end trigger fires (or stop conditions are met), the process completes or is interrupted based on the StopBehavior setting. Supports retrigger policies for handling overlapping activations.
Properties¶
| Property | Type | Description |
|---|---|---|
| process | IProcess |
The process to run when triggered. |
| StopBehavior | StopBehavior |
What happens when the process is stopped (Complete or Interrupt). |
| RetriggerBehavior | RetriggerBehavior |
What happens when begin fires while a process is already running. |