CharacterMusicSystem.MoveSounds C# (CSharp) Méthode

MoveSounds() public méthode

public MoveSounds ( float move, bool m_Grounded ) : void
move float
m_Grounded bool
Résultat void
	public void MoveSounds(float move, bool m_Grounded)
	{
		drums.volume = Mathf.Abs (move / 1.5f);
		bass.volume = Math.Abs (move) + 0.7f;
		pulse.volume = Math.Abs (move) + 0.2f;
		mixer.SetFloat ("lowpass",(Mathf.Abs (move) * 19500f) + 2500f);
	}