So long story short, I work on my project on my laptop and like sending the project build over to my desktop to playtest. Today, I built the project and tried it on my laptop, all worked fine. Though, when I send it over to my desktop, something doesn’t work. This something is using the ‘E’ key to buy various items I’ve scattered around my map. The code for one of those items is attached here, but like I said it works fine on my laptop so I don’t know why it doesn’t work on my desktop. (It literally won’t let me ‘buy’ the item)
Add many Debug.Log statements.
Is OnTriggerEnter2D being called? Find out by adding a Debug.Log
If your tag comparison working? Find out by adding a Debug.Log
etc
1 Like
