private void Awake() { move = new AccelerateMove(); jump = new Jump(); attack = new AttackFacade(this); InputManager.onJump += () => { if (jump.CanJump) { jump.Excute(); } }; }
private void Awake() { move = new AccelerateMove(); jump = new Jump(); attack = new AttackFacade(this); InputManager.onJump += () => { if (jump.CanJump) { jump.Excute(); } }; }