浏览代码

Fixed typo

/main
Ciro Continisio 4 年前
当前提交
ff340fa4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      UOP1_Project/Assets/Scripts/Characters/Protagonist.cs

4
UOP1_Project/Assets/Scripts/Characters/Protagonist.cs


//Adds listeners for events being triggered in the InputReader script
private void OnEnable()
{
inputReader.JumpEvent += OnJumpInitiated;
inputReader.jumpEvent += OnJumpInitiated;
inputReader.jumpCanceledEvent += OnJumpCanceled;
inputReader.moveEvent += OnMove;
//...

private void OnDisable()
{
inputReader.JumpEvent -= OnJumpInitiated;
inputReader.jumpEvent -= OnJumpInitiated;
inputReader.jumpCanceledEvent -= OnJumpCanceled;
inputReader.moveEvent -= OnMove;
//...

正在加载...
取消
保存