unity trigger enter trigger code example Example: void OntriggerEnter (Collider other) void OntriggerEnter (Collider other)