OnTriggerEnter not working at Unity3D

void OnTriggerEnter (Collision col)
{
    control.puntuar (2);
}

this will never work. OnTriggerEnter needs a Collider not an Collision. Try this:

void OnTriggerEnter (Collider col)
{
    control.puntuar (2);
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)