//for unity c# private void OnTriggerEnter(Collider other) { // code }
private void OnTriggerEnter(Collider other)