🤔

Trigger messages (3D)#

Ensure your functions use the correct types, spelling, and capitalisation as below.
The variable collider can be renamed, and access modifiers are not important. The parameters are optional if you are not using them.

OnTriggerEnter#

void OnTriggerEnter(Collider collider)
{
    // Your behaviour here
}

OnTriggerStay#

void OnTriggerStay(Collider collider)
{
    // Your behaviour here
}

OnTriggerExit#

void OnTriggerExit(Collider collider)
{
    // Your behaviour here
}

I am still not getting a message.