OnTriggerEnter

void OnTriggerEnter(Collider collider);

This thing doesn’t work, it says must declare a body because it’s not marked abstract, extern or partial

void OnTriggerEnter(Collider collider);

You must declare a body

void OnTriggerEnter(Collider collider)
{        
    // This is the body.
}