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