public void SetClip(string clipName) { SoundMeta meta = soundInfo.values[clipName]; audioSource.clip = meta.Clip; audioSource.time = meta.Start; audioSource.volume = meta.Volume; audioSource.pitch = meta.Pitch; }
public SoundMetaQueryResult(long totalResults, SoundMeta[] soundMeta) { TotalResults = totalResults; SoundMeta = soundMeta; }
internal static CfSoundMeta FromSoundMeta(SoundMeta source) { return(source == null ? null : new CfSoundMeta(EnumeratedMapper.EnumFromSoapEnumerated <CfSoundStatus>(source.Status.ToString()), source.Name, source.Created, source.LengthInSeconds, source.id)); }