protected override void Awake() { base.Awake(); horizontalCode = InputController.GetHash(horizontalAxis); verticalCode = InputController.GetHash(verticalAxis); submitCode = InputController.GetHash(submitButton); cancelCode = InputController.GetHash(cancelButton); }
public void RefreshHash() { keyNegativeHash = InputController.GetHash(keyNegative); keyPositiveHash = InputController.GetHash(keyPositive); joystickAxisHash = InputController.GetHash(joystickAxis); }