 | AudioSourceVolumeSetterTrySetReferencedValue Method |
Sets the volume of an AudioSource, if one exists.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected override bool TrySetReferencedValue(
ref float newValue
)
Parameters
- newValue
- Type: SystemSingle
The new volume for the AudioSource.
Return Value
Type:
BooleanTrue if the volume was set, false if no volume was set.
See Also