CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
[Asset Support] Multiplatform Assets

Sample description

Overview

cri4u_samples_addon_asset05_pultiplatform.png

This sample uses data corresponding to the build target by using " \ref addon4u_assetsupport_assets_multiplatform ". Press the button in the window to play/stop the Cue.

Scene information


Middleware CRI ADX (CRI Atom)
Sample Asset Support Sample
Location /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Scenes/
Scene file Scene_05_MultiPlatform.unity
ACF Asset /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Data/WebGL/DemoProj_multi.multiacf
ACB Asset /cri/unity/samples/UnityProject/Assets/CriAssetSamples/Data/WebGL/DemoProj_multi.multiacb


Description of the program

Settings for Multiplatform Assets

The CRI assets to use for each platform can be specified in the asset import settings.
This sample loads data specific to the WebGL environment by using a multi-platform ACB asset.

Audio playback

Multiplatform assets can be used as any assets generated by importing Non-Asset CRI data. This sample plays back the audio in the same way as [Asset Support] Atom Basic Playback .
It uses a multiplatform ACB asset instead of the ACB Asset in the CriAtomSourceForAsset.