Example #1
0
 private SoundRunCommand MapSoundRunCommand(UISoundData[] soundData, SoundCommandNode soundCommandNode)
 {
     return(new SoundRunCommand(soundCommandNode.cmdType, soundCommandNode.runAction)
     {
         soundData = FindSoundData(soundData, soundCommandNode.name),
     });
 }
Example #2
0
 private void MapSoundCommand(UISoundData[] soundData, UIStyleRunCommand cmd, SoundCommandNode soundCommandNode)
 {
     cmd.runCommands.Add(MapSoundRunCommand(soundData, soundCommandNode));
 }