Class AmbientEffectsPlayer
Plays different ambient effects, both audible and visual, at random intervals.
Certain effects such as lightning are timed to each other.
NOTE: Lightning sky effects are deprecated for now.
Inheritance
AmbientEffectsPlayer
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(DaggerfallAudioSource))]
public class AmbientEffectsPlayer : MonoBehaviour
Fields
|
Improve this Doc
View Source
CemeteryMaxWaitTime
Declaration
public int CemeteryMaxWaitTime
Field Value
|
Improve this Doc
View Source
CemeteryMinWaitTime
Declaration
public int CemeteryMinWaitTime
Field Value
|
Improve this Doc
View Source
doNotPlayInCastle
Declaration
public bool doNotPlayInCastle
Field Value
|
Improve this Doc
View Source
IsMuted
Declaration
Field Value
|
Improve this Doc
View Source
LightForEffects
Declaration
public Light LightForEffects
Field Value
|
Improve this Doc
View Source
MaxWaitTime
Declaration
Field Value
|
Improve this Doc
View Source
MinWaitTime
Declaration
Field Value
|
Improve this Doc
View Source
PlayLightningEffect
Declaration
public bool PlayLightningEffect
Field Value
|
Improve this Doc
View Source
Presets
Declaration
public AmbientEffectsPlayer.AmbientSoundPresets Presets
Field Value
Methods
|
Improve this Doc
View Source
RaiseOnPlayEffectEvent(SoundClips)
Declaration
protected virtual void RaiseOnPlayEffectEvent(SoundClips clip)
Parameters
Events
|
Improve this Doc
View Source
OnPlayEffect
Declaration
public static event AmbientEffectsPlayer.OnPlayEffectEventHandler OnPlayEffect
Event Type
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)