| WeatherMakerSoundZoneScriptAddSound Method  | 
 
            Add a new sound group
            
 
    Namespace: 
   DigitalRuby.WeatherMaker
    Assembly:
   Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
 Syntax
Syntaxpublic WeatherMakerSoundGroupScript AddSound(
	WeatherMakerSoundGroupScript sound,
	bool canPlay,
	bool add = true
)
Public Function AddSound ( 
	sound As WeatherMakerSoundGroupScript,
	canPlay As Boolean,
	Optional add As Boolean = true
) As WeatherMakerSoundGroupScript
public:
WeatherMakerSoundGroupScript^ AddSound(
	WeatherMakerSoundGroupScript^ sound, 
	bool canPlay, 
	bool add = true
)
member AddSound : 
        sound : WeatherMakerSoundGroupScript * 
        canPlay : bool * 
        ?add : bool 
(* Defaults:
        let _add = defaultArg add true
*)
-> WeatherMakerSoundGroupScript 
Parameters
- sound
- Type: DigitalRuby.WeatherMakerWeatherMakerSoundGroupScript
 Sound group
- canPlay
- Type: SystemBoolean
 Whether the sound group can play
- add (Optional)
- Type: SystemBoolean
 True to add to the sound list
Return Value
Type: 
WeatherMakerSoundGroupScriptSound group
 See Also
See Also