Why do you need to test if the button is clicked?

isn’t clicking the button what triggers the raycast in the first place?

No. The raycast is done on every Update of the PlayerController. When we are over the guard, we check to see if the button is clicked in order to start the conversation

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms