Click or drag to resize

AudioSourceVolumeSetterTryGetReferencedValue Method

Gets the volume of the AudioSource, if one exists.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected override bool TryGetReferencedValue(
	out Nullable<float> referencedValue
)

Parameters

referencedValue
Type: SystemNullableSingle
The volume of the AudioSource. If no AudioSource exists, it returns null.

Return Value

Type: Boolean
True if a value can be found, false otherwise.
See Also