CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
[CriMana] Simple playback

Description of the sample

Overview

cri4u_samples_crimana_scene01_game_mini.png

Simple sample for movie playback.
The movie added on the cube is automatically played, and the cube rotates slowly.
In the top-left corner of the screen, information, such as the length of the movie and the current playback time is displayed.

Scene information


Middleware CRI Sofdec (CRI Mana)
Sample Basic samples
Location /CRIWARE/SDK/unity/samples/UnityProject/Assets/Scenes/crimana/basic/
Scene file Scene_01_SimpleMoviePlayback.unity


Description of the program


Demo of simple playback.
A movie is added on the cube and played in a loop. This sample plays the movie without requiring any extra programming.

[Cube] object

In the CriManaMovieController component of the Cube object, select the name of the movie file to play and the playback options.

cri4u_samples_crimana_scene01_component.png

  • Movie Path: Name of a movie file. Place the movie file in the StreamingAssets folder.
  • Play On Start: Select this option to start the movie when the object is created.
  • Loop: Select this option to perform seamless loop playback.
  • Additive Mode: Do not select this option. If it is selected, additive blending is performed.