1. Add RuntimeManager
In the Project window, findPackages/com.molca.core/ → locate the RuntimeManager prefab (or your project’s equivalent). Drag it into your scene’s Hierarchy.
The RuntimeManager initialises Molca’s core services (EventDispatcher, ReferenceManager, etc.) on play. Without it, nothing works.
2. Add a Sequence with Steps
- Create an empty GameObject, name it
TrainingSequence - Add SequenceController component (Add Component → Molca → Sequence → SequenceController)
- Create two child GameObjects under it:
Step1_WaitandStep2_Done - Add a Step component to each child
- Check Auto Start on the SequenceController
3. Add custom logic to Step1
Create a script that completes the step after a delay:TimedStep to Step1_Wait instead of the base Step component.
4. Press Play
Hit Play in the Unity Editor. The sequence starts automatically:Step1_Wait runs for 2 seconds, completes, then Step2_Done activates. The Console shows completion events.
Next steps
- SequenceController — detailed API reference
- Step (base class) — lifecycle and completion rules
- Core step types — built-in step subclasses
- RuntimeManager — bootstrap and DI container