CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
[Asset Support] Mana Basic Playback

Sample description

Overview

cri4u_samples_addon_asset06_manaplayback.png

This sample uses a CriManaMovieMaterialForAsset for basic movie playback. By executing the scene, two types of movies are played back.

Scene information


Middleware CRI ADX (CRI Atom)
Sample Asset Support Sample
Location /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Scenes/
Scene file Scene_06_ManaPlayback.unity
USM Asset /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Data/CriMana/additive_movie.usm
USM Assets (Additive) /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Data/CriMana/movie.usm


Description of the program

Here we use a CriManaMovieMaterialForAsset to play a movie.
This sample can play back a movie without having to write any source code.

CriManaMovieMaterialForAsset

With the Asset Support Add-on, a CriManaMovieMaterialForAsset is used instead of the usual CriManaMovieController.
A USM asset needs to be assigned to the CriManaMovieMaterialForAsset.

[Reference]
Creating CriManaMovieMaterialForAsset