Corgi Engine  v8.8
MoreMountains.CorgiEngine.MMF_CorgiEngineSound Class Reference
Inheritance diagram for MoreMountains.CorgiEngine.MMF_CorgiEngineSound:
MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

AudioClip SoundFX
 the audio clip to play More...
 
bool Loop = false
 whether or not to play this sound in a loop More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float attenuation=1.0f)
 This method describes what happens when the feedback gets played More...
 
override void CustomStopFeedback (Vector3 position, float attenuation=1.0f)
 This method describes what happens when the feedback gets stopped More...
 

Protected Attributes

AudioSource _audioSource
 

Additional Inherited Members

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.CorgiEngine.MMF_CorgiEngineSound.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

This method describes what happens when the feedback gets played

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.CorgiEngine.MMF_CorgiEngineSound.CustomStopFeedback ( Vector3  position,
float  attenuation = 1.0f 
)
protectedvirtual

This method describes what happens when the feedback gets stopped

Parameters
position
attenuation

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _audioSource

AudioSource MoreMountains.CorgiEngine.MMF_CorgiEngineSound._audioSource
protected

◆ Loop

bool MoreMountains.CorgiEngine.MMF_CorgiEngineSound.Loop = false

whether or not to play this sound in a loop

◆ SoundFX

AudioClip MoreMountains.CorgiEngine.MMF_CorgiEngineSound.SoundFX

the audio clip to play


The documentation for this class was generated from the following file: