Class EnemySounds
Example enemy sounds component.
Handles attract and attack sounds.
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(DaggerfallAudioSource))]
public class EnemySounds : MonoBehaviour
Fields
|
Improve this Doc
View Source
AttackSound
Declaration
public SoundClips AttackSound
Field Value
|
Improve this Doc
View Source
AttractRadius
Declaration
public float AttractRadius
Field Value
|
Improve this Doc
View Source
BarkSound
Declaration
public SoundClips BarkSound
Field Value
|
Improve this Doc
View Source
LinearRolloff
Declaration
public bool LinearRolloff
Field Value
|
Improve this Doc
View Source
MaxAttractDelay
Declaration
public int MaxAttractDelay
Field Value
|
Improve this Doc
View Source
MinAttractDelay
Declaration
public int MinAttractDelay
Field Value
|
Improve this Doc
View Source
MoveSound
Declaration
public SoundClips MoveSound
Field Value
|
Improve this Doc
View Source
MuteHumanSounds
Declaration
public bool MuteHumanSounds
Field Value
|
Improve this Doc
View Source
RaceForSounds
Declaration
public Races RaceForSounds
Field Value
|
Improve this Doc
View Source
SoundsFromMobile
Declaration
public bool SoundsFromMobile
Field Value
Methods
|
Improve this Doc
View Source
PlayAttackSound()
Declaration
public void PlayAttackSound()
|
Improve this Doc
View Source
PlayCombatVoice(Genders, Boolean, Boolean)
Declaration
public void PlayCombatVoice(Genders gender, bool isAttack, bool heavyDamage = false)
Parameters
|
Improve this Doc
View Source
PlayHitSound(DaggerfallUnityItem)
Declaration
public void PlayHitSound(DaggerfallUnityItem weapon)
Parameters
|
Improve this Doc
View Source
PlayMissSound(DaggerfallUnityItem)
Declaration
public void PlayMissSound(DaggerfallUnityItem weapon)
Parameters
|
Improve this Doc
View Source
PlayParrySound()
Declaration
public void PlayParrySound()
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)