CRIWARE Unity Plugin Manual
Last Updated: 2024-07-12
Plugin headless mode
Overview
By enabling the CRIWARE_ENABLE_HEADLESS_MODE preprocessor definition,
the CRIWARE Unity plugin stops making all calls to Native library and switches to calling dummy APIs declared on C#.
How to use
Add CRIWARE_ENABLE_HEADLESS_MODE to Scripting Define Symbols etc.
Details
Stop calling Native library for each platform.
This supports automatic test environments on servers that do not require sound or video playback functions.
In line with the above, fake state transitions are performed for CriAtomExPlayer and CriMana.Player.
Update the internal state by calling the update function from CriManaMovieMalterial etc.
CriMana.Player.Status is incremented every time it is updated from WaitPrep, and finally transitions to PlayEnd if it is non-pause/non-loop.
Immediate transition to Stop state when Stop is called.
THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.