Skip to content

Variables and Integration

Parameters let one Montage asset receive runtime context. Supported values include:

  • boolean;
  • number;
  • string;
  • GameObject;
  • Vector3; and
  • color.

Montage timeline with a GameObject parameter named target

The Play Montage Action can override a parameter by name without modifying the asset:

Play Montage Action overriding the target parameter with a scene GameObject

  1. Define a parameter on the Montage asset.
  2. Reference the parameter from an authored track or instruction.
  3. Set its runtime value in a Game Creator Action.
  4. Play the Montage.
  5. React to its Notifies, Windows, Branches, or completion hooks.

Notifies and Windows can run Game Creator 2 Instruction Lists directly. Triggers are available for start, completion, cancellation, notification, and Window open or close events.

Use direct instructions for short, local effects. Prefer a dedicated script or reusable instruction asset for complex behavior.

The C# API exposes these events:

player.OnNotificationFired += HandleNotification;
player.OnWindowOpened += HandleWindowOpen;
player.OnWindowClosed += HandleWindowClose;

Always unsubscribe from matching events when the listener is disabled. See the complete preserved example in C# API.

Projects using custom assembly definitions may need explicit Game Creator and Input System references. See Installation and Architecture before changing assembly boundaries.