C# Class AlterSoundParameter, Hellbound

Inheritance: MonoBehaviour
Mostra file Open project: Backman/Hellbound

Public Properties

Property Type Description
g_GameObjects GameObject[]
m_DestroyOnExit bool
m_FadeSpeed float
m_InsideParameter float
m_OutsideParameter float
m_RevertToOriginalValue bool
m_UseFade bool
s_Parameter string

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void

Private Methods

Method Description
FadeIn ( ) : IEnumerator
FadeOut ( ) : IEnumerator
MoveTo ( float at, float beginValue, float desiredValue ) : float
waitForParameters ( ) : IEnumerator

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

Start() public method

public Start ( ) : void
return void

Property Details

g_GameObjects public_oe property

AlterSoundParameter was writted by Anton This needs some kind of collider that triggers the functions "OnTrigger, OnTriggerEnter, OnTriggerExit" What AlterSoundParameter does is altering sounds through FMOD_Parameters, when something with a rigidbody passes through the collider. What things that get altered depends on the variables that the editor enters This script was specifically made as a tool for designers Think of fmod_parameters as parameters that alters for example the "speed", the "pitch" and so on. what they alters and what their names are is specified in FMOD studio by sound and music guys and gals
public GameObject[] g_GameObjects
return GameObject[]

m_DestroyOnExit public_oe property

public bool m_DestroyOnExit
return bool

m_FadeSpeed public_oe property

public float m_FadeSpeed
return float

m_InsideParameter public_oe property

public float m_InsideParameter
return float

m_OutsideParameter public_oe property

public float m_OutsideParameter
return float

m_RevertToOriginalValue public_oe property

public bool m_RevertToOriginalValue
return bool

m_UseFade public_oe property

public bool m_UseFade
return bool

s_Parameter public_oe property

public string s_Parameter
return string