using PixelCrushers.DialogueSystem; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Beyond { //Adds supoprt to a touch button with a new input system public class PlayerProximitySelector : ProximitySelector { // Start is called before the first frame update //GameControls controls; // Start is called before the first frame update private void Awake() { //controls = new GameControls(); } private void OnDisable() { //controls.Disable(); } private void OnEnable() { //controls.Enable(); //controls.Player.ActionTrigger.performed += Action_performed; } /* private void Action_performed(UnityEngine.InputSystem.InputAction.CallbackContext obj) { Debug.Log("ActionTrigger"); UseCurrentSelection(); } */ override public void Start() { base.Start(); } // Update is called once per frame override protected void Update() { base.Update(); } } }