public PDEditorModule(string name, PDEditorModule editorModule, PDPlayer pdPlayer) { this.name = name; this.volume = editorModule.Volume; this.source = editorModule.Source; this.volumeRolloff = editorModule.VolumeRolloff; this.minDistance = editorModule.MinDistance; this.maxDistance = editorModule.MaxDistance; this.panLevel = editorModule.PanLevel; this.pdPlayer = pdPlayer; }
public PDEditorModule(string name, AudioStates state, float volume, GameObject source, PDSpatializer.RolloffMode volumeRolloff, float minDistance, float maxDistance, float panLevel) { this.name = name; this.state = state; this.volume = volume; this.source = source; this.volumeRolloff = volumeRolloff; this.minDistance = minDistance; this.maxDistance = maxDistance; this.panLevel = panLevel; }
public PDEditorModule(PDModule module, PDPlayer pdPlayer) { this.name = module.Name; this.volume = module.GetVolume(); this.source = module.spatializer.Source; this.volumeRolloff = module.spatializer.VolumeRolloff; this.minDistance = module.spatializer.MinDistance; this.maxDistance = module.spatializer.MaxDistance; this.panLevel = module.spatializer.PanLevel; this.pdPlayer = pdPlayer; }