I'm a new dev and have mostly worked with Unity before now. I'm trying to make my first project in S&Box but the API ref hasn't been extremely clear to me.
I want to reference the "use" player actions results, but I don't know how exactly to input the "PlayerController.IEvents" the API talks about.
I'm specifically trying to set up a way to detect when the player is facing an "NPC" object, so I can then open a dialogue box.
Any advice would be appreciated.
I want to reference the "use" player actions results, but I don't know how exactly to input the "PlayerController.IEvents" the API talks about.
I'm specifically trying to set up a way to detect when the player is facing an "NPC" object, so I can then open a dialogue box.
Any advice would be appreciated.