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