unity ontriggerenter only for one collider code example Example: void OntriggerEnter (Collider other) void OntriggerEnter (Collider other)