Hi, i would like to check that the parameterValue on trigger enter and triggerExit, is correct. I would like to see in the console with Debug.Log. But i can’t
void OnTriggerEnter (Collider hit){
if (hit.GetComponent<Collider> ().CompareTag ("Player")) {
MusicaC.mcaparam.setValue (0.12f);
MusicaC.M_Pipes.getParameter ("MUSIC", out MusicaC.mcaparam);
Debug.Log (MusicaC.mcaparam);
}
}
The number that appear in console is 0,why???
thanks