Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecsharp
public Class CutsceneController : MonoBehaviour {
	public Cutscene m_CutsceneToControl;

	void PlayCutscene() {
		m_CutsceneToControl.Play();
	} 
}

Controlling a Cut-scene from Unity

  1. Create an empty game object in the scene
  2. Attach the CutsceneDebugPlayer script to it
  3. Set the "Cutscene Map" size to how many cutscenes you want to control with keyboard keys
  4. Set the cutscene that you want to control and the keyboard keys to control it

Image Added

Listening for Cut-scene Callbacks

...