change: input dialogue on player spawn
This commit is contained in:
@@ -27,6 +27,9 @@ public class PlayerControls : MonoBehaviour{
|
||||
graph = GetComponent<GraphOwner>();
|
||||
input = GetComponent<PlayerInput>();
|
||||
|
||||
// Remove all devices from this user
|
||||
input.user.UnpairDevices();
|
||||
|
||||
// Add the delegates for each method
|
||||
foreach (InputAction action in input.actions) {
|
||||
action.started += SendToGraph;
|
||||
|
||||
Reference in New Issue
Block a user