From 4f576b5c7980df38848ba02970cdd5b96e615531 Mon Sep 17 00:00:00 2001 From: thoopchuk26 Date: Tue, 27 Apr 2021 14:30:44 -0500 Subject: [PATCH] Added Collision function with no logic for projectile --- MuseumGame/Assets/Scripts/paintShoot.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MuseumGame/Assets/Scripts/paintShoot.cs b/MuseumGame/Assets/Scripts/paintShoot.cs index 3aad95d..ea4e69e 100644 --- a/MuseumGame/Assets/Scripts/paintShoot.cs +++ b/MuseumGame/Assets/Scripts/paintShoot.cs @@ -29,4 +29,9 @@ public class paintShoot : MonoBehaviour } } } + + private void OnCollisionEnter2D(Collision2D collision) + { + //This is where you would damage the enemy + } }