浏览代码

[Bot] Automated dotnet-format update

/main
kgc00 4 年前
当前提交
4740b5b7
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 12
      UOP1_Project/Assets/Scripts/Input/InputReader.cs

12
UOP1_Project/Assets/Scripts/Input/InputReader.cs


public void OnAttack(InputAction.CallbackContext context)
{
if (attackEvent != null
&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Performed)
attackEvent.Invoke();
}

&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Performed)
extraActionEvent.Invoke();
}

&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Performed)
interactEvent.Invoke();
}

&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Canceled)
&& context.phase == InputActionPhase.Canceled)
jumpCanceledEvent.Invoke();
}

public void OnPause(InputAction.CallbackContext context)
{
if (pauseEvent != null
&& context.phase == InputActionPhase.Performed)
&& context.phase == InputActionPhase.Performed)
pauseEvent.Invoke();
}

正在加载...
取消
保存