CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
Selector
A selector is a function that selects the track played on a cue based on a selector label.
You can use a selector to change footsteps sounds based on the surface on which the player is walking for example, or to change the dialog lines of a character based on its remaining HP.
A selector label is registered for each player object (CriWare.CriAtomSource or CriWare.CriAtomExPlayer).
You can use a selector to switch many cue sounds easily.
A program can use the names of selector labels instead of the values of AISACs.
To learn more about how to set a selector for a cue, please refer to the tool manual.
Attention
If you use selector labels with CriAtomSource, please access the CriAtomSource.player property and use the CriWare.CriAtomExPlayer.SetSelectorLabel function.