diff options
author | chai <chaifix@163.com> | 2022-01-29 11:36:08 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-01-29 11:36:08 +0800 |
commit | 60c2e26bc432273d41365165c5457db7e51aa03d (patch) | |
tree | 7596f14d5e870793c267f531712a37809bb6deac /JamHelper/Assets/JamTools/Scripts/TestCollision.cs | |
parent | 53593cf28d07d544a4d498dc807e7f9e53f17236 (diff) |
*rename
Diffstat (limited to 'JamHelper/Assets/JamTools/Scripts/TestCollision.cs')
-rw-r--r-- | JamHelper/Assets/JamTools/Scripts/TestCollision.cs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/JamHelper/Assets/JamTools/Scripts/TestCollision.cs b/JamHelper/Assets/JamTools/Scripts/TestCollision.cs new file mode 100644 index 0000000..87b018f --- /dev/null +++ b/JamHelper/Assets/JamTools/Scripts/TestCollision.cs @@ -0,0 +1,51 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class TestCollision : MonoBehaviour
+{
+ // Start is called before the first frame update
+ void Start()
+ {
+
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+
+ }
+
+ private void OnCollisionEnter(Collision collision)
+ {
+ Debug.Log("OnCollisionEnter");
+
+ }
+
+ private void OnCollisionStay(Collision collision)
+ {
+
+ }
+
+ private void OnCollisionExit(Collision collision)
+ {
+
+ }
+
+
+ private void OnTriggerEnter(Collider other)
+ {
+ Debug.Log("OnTriggerEnter");
+
+ }
+
+ private void OnTriggerStay(Collider other)
+ {
+
+ }
+
+ private void OnTriggerExit(Collider other)
+ {
+ }
+
+}
|