added important comment to PlayerClickSystem

This commit is contained in:
Gabriel Ksawery Skowron-Rodriguez 2022-05-20 11:30:15 +02:00
parent ee7c0fdfa1
commit 2d1aa7cb9c

View File

@ -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);