From 06db6b9fde527e544d4de245e6e17070a1ce4207 Mon Sep 17 00:00:00 2001 From: thoopchuk26 Date: Tue, 27 Apr 2021 14:37:48 -0500 Subject: [PATCH] Changed it so the script goes on the projectile not the player --- MuseumGame/Assets/Scripts/paintShoot.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MuseumGame/Assets/Scripts/paintShoot.cs b/MuseumGame/Assets/Scripts/paintShoot.cs index ea4e69e..1c79b9b 100644 --- a/MuseumGame/Assets/Scripts/paintShoot.cs +++ b/MuseumGame/Assets/Scripts/paintShoot.cs @@ -4,8 +4,8 @@ using UnityEngine; public class paintShoot : MonoBehaviour { - public Rigidbody2D paintBlob; - private GameObject player; + private Rigidbody2D paintBlob; + public GameObject player; // Start is called before the first frame update void Start()