From 2d1aa7cb9cfd8797f58567c59794bbad2f3662ba Mon Sep 17 00:00:00 2001 From: Gabriel Ksawery Skowron-Rodriguez Date: Fri, 20 May 2022 11:30:15 +0200 Subject: [PATCH] added important comment to PlayerClickSystem --- theProject/Assets/Scripts/Player/PlayerClickSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theProject/Assets/Scripts/Player/PlayerClickSystem.cs b/theProject/Assets/Scripts/Player/PlayerClickSystem.cs index ed37c4c5..e3594056 100644 --- a/theProject/Assets/Scripts/Player/PlayerClickSystem.cs +++ b/theProject/Assets/Scripts/Player/PlayerClickSystem.cs @@ -16,9 +16,9 @@ public class PlayerClickSystem : MonoBehaviour // Update is called once per frame void Update() { - if(Input.GetMouseButton(0)) + if(Input.GetMouseButton(0)) // Change to new input system { - Debug.Log("CLICK"); + //Debug.Log("CLICK"); Camera camera = Camera.main; RaycastHit hit; Ray ray = camera.ScreenPointToRay(Input.mousePosition);