![]() | AudioSourceVolumeSetter Class |
Namespace: DustProductions.Core
public class AudioSourceVolumeSetter : FloatValueSetter
The AudioSourceVolumeSetter type exposes the following members.
Name | Description | |
---|---|---|
![]() | AudioSourceVolumeSetter | Initializes a new instance of the AudioSourceVolumeSetter class |
Name | Description | |
---|---|---|
![]() ![]() | GetAffectedType |
Gets the Type of the object we are going to set with this setter.
|
![]() | GetReferencedComponent |
Fetch the Component this setter is referencing.
(Overrides CacheableValueSetterGetReferencedComponent.) |
![]() | Reset |
The Reset method Unity calls. Looks for an AudioSource and hooks it up if it exists.
(Overrides ValueSetterTReset.) |
![]() | TryGetReferencedValue |
Gets the volume of the AudioSource, if one exists.
(Overrides ValueSetterTTryGetReferencedValue(NullableT).) |
![]() | TrySetReferencedValue |
Sets the volume of an AudioSource, if one exists.
(Overrides ValueSetterTTrySetReferencedValue(T).) |
Name | Description | |
---|---|---|
![]() | AnnounceComponentAdded |
Notifies any IComponentHandlers on the GameObject a Component is added to, that the Component has been added.
(Defined by ExtensionMethods.) |
![]() | StartCoroutineT |
Use by calling this.StartCoroutine and assigning it to a Coroutine. Then you can call your assigned coroutine.Cancel(), or .HasFinished, or a variety of other neat things.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentT(T, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentT1, T2(T1, Boolean) | Overloaded.
Attempts to get a component on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentsT(T, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) |
![]() | TryGetComponentsT1, T2(T1, Boolean) | Overloaded.
Attempts to get components on a gameobject.
(Defined by ExtensionMethods.) |