浏览代码

Fix: Removed old method calls.

/V2
andytouch 4 年前
当前提交
d3611c21
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 3
      InputSystem_Warriors_Project/Assets/Scripts/Behaviours/UI/UIRebindActionBehaviour.cs

3
InputSystem_Warriors_Project/Assets/Scripts/Behaviours/UI/UIRebindActionBehaviour.cs


void UpdateBindingDisplayUI()
{
PlayerController focusedPlayerController = GameManager.Instance.GetFocusedPlayerController();
string currentRawDevicePath = focusedPlayerController.GetPlayerInput().ToString();
int controlBindingIndex = focusedInputAction.GetBindingIndexForControl(focusedInputAction.controls[0]);
string currentBindingInput = InputControlPath.ToHumanReadableString(focusedInputAction.bindings[controlBindingIndex].effectivePath, InputControlPath.HumanReadableStringOptions.OmitDevice);

正在加载...
取消
保存