Skip to content

Class: FxVolume ​

csharp
[RequireComponent(typeof(Volume))]
public class FxVolume : FxInterpolatedEffectBase, IEffectComponent, IEffectWithSpeed, IEffectWithOwnerContext

Fields ​

NameDeclarationDescription
otherPlayersMultiplier`[ShowIf("useCustomOtherPlayersMultiplier", true)]
public float otherPlayersMultiplier`
targetStrengthpublic float targetStrength
useCustomOtherPlayersMultiplier`[ToggleLeft]
public bool useCustomOtherPlayersMultiplier`

Methods ​

OnInit() ​

csharp
protected override void OnInit()

Play() ​

csharp
public override void Play()

SetOwnerContext(EffectOwnerContext) ​

csharp
public void SetOwnerContext(EffectOwnerContext context)

Parameters:

NameTypeDescription
contextEffectOwnerContext

Start() ​

csharp
protected override void Start()

UpdateVolume() ​

csharp
public void UpdateVolume()

ValueSetter(float) ​

csharp
protected override void ValueSetter(float value)

Parameters:

NameTypeDescription
valuefloat

Maintained by the Shape of Dreams Modding Community