Battle Talent  V11
Public Member Functions | Public Attributes | List of all members
CrossLink.WhooshSoundController Class Reference

Inherits MonoBehaviour.

Public Member Functions

void InitSound ()
 
void UpdateWhooshSound (Rigidbody rb)
 
float CalcRbVelocity (float vec, float max, float min)
 
void Reset ()
 
float GetOriginalThickness ()
 
void SetSoundThickness (float value)
 
void ResetSoundThickness ()
 

Public Attributes

AudioSource bassSound
 
AudioSource metallicSound
 
AudioSource noiseSound
 
AudioSource swishSound
 
float maxSqrDis = 400
 
float sDelayTime = 0
 
float bDelayTime = 0.03f
 
float nDelayTime = 0.02f
 
float mDelayTime = 0.05f
 
float timeStamp = 0
 
float s_min = 0.3f
 
float s_lerpRate = 0.4f
 
float s_per = 2000f
 
float s_basePitch = 2.5f
 
float s_thickness = 0.8f
 
float s_maxAngle = 0.2f
 
float s_maxPitch = 2.3f
 
float s_minPitch = 2f
 
float increaseRate = 0.5f
 
float reduceRate = 0.1f
 
float ignoreValue = 0.02f
 
float minSound = 0.1f
 
float s_targetvalue
 
bool s_isAutoPitch = false
 
float s_pitchValue = 2f
 
bool isVolPitch = true
 
float minVolToPitch = 0.01f
 
float axVolPitch = 1.1f
 
float n_targetvalue
 
float n_lerpRate = 0.5f
 
float n_min = 0.3f
 
float n_thickness = 0.2f
 
float n_per = 5000f
 
float n_maxAngle = 0.1f
 
float n_basePitch = 1f
 
float n_maxPitch = 1.5f
 
bool n_isAutoPitch = false
 
float n_pitchLerpRate = 0.3f
 
float n_minVol = 0.4f
 
float n_pitchValue = 1f
 
float b_targetvalue
 
float b_lerpRate = 0.4f
 
float b_min = 0.4f
 
float b_thickness = 0.6f
 
float b_per = 3000f
 
float b_maxAngle = 0.3f
 
float b_basePitch = 1f
 
float b_maxPitch = 2f
 
bool b_isAutoPitch = false
 
float b_pitchLerpRate = 0.3f
 
float b_minVol = 0.2f
 
float b_pitchValue = 1f
 
float m_targetvalue
 
float m_lerpRate = 0.2f
 
float m_min = 0.4f
 
float m_thickness = 0f
 
float m_per = 3000f
 
float m_minAcc = 100f
 
float m_maxAngle = 0.2f
 
float m_basePitch = 0.2f
 
float m_maxPitch = 1f
 
bool m_isAutoPitch = true
 
float m_pitchLerpRate = 0.2f
 
float m_minVol = 0.03f
 
float m_pitchValue = 0.4f
 
float m_maxValue = 0.03f
 
float m_easingValue = 0.05f
 
float s_maxVec = 10
 
float s_minVec = 0.1f
 
float b_maxVec = 10
 
float b_minVec = 2f
 
float n_maxVec = 10
 
float n_minVec = 5f
 
float m_maxVec = 20
 
float m_minVec = 7f
 
float curThickness = 0