using System.Collections; using System.Collections.Generic; using UnityEngine; public class SaionjiScript : MonoBehaviour { // Start is called before the first frame update void Start() { } private void OnCollisionEnter(Collision collision) { Debug.Log("OnCollisionEnter()"); } private void OnTriggerEnter(Collider other) { Debug.Log("OnTriggerEnter()"); } }