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