Skip to main content
Get a working Molca scene running in under 5 minutes.

1. Add RuntimeManager

In the Project window, find Packages/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

  1. Create an empty GameObject, name it TrainingSequence
  2. Add SequenceController component (Add Component → Molca → Sequence → SequenceController)
  3. Create two child GameObjects under it: Step1_Wait and Step2_Done
  4. Add a Step component to each child
  5. Check Auto Start on the SequenceController

3. Add custom logic to Step1

Create a script that completes the step after a delay:
Attach 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