示例#1
0
    void Update()
    {
        if (_playerInput.PlayerActions.Shoot.ReadValue <float>() > 0)
        {
            _characterShot.OnShot();
        }

        _characterMove.MoveCharacter(_playerInput.PlayerActions.Move.ReadValue <Vector2>());
    }