// Update is called once per frame void Update() { if (Input.GetMouseButtonDown(0)) { Debug.Log("jump"); actionCharacter.Jump(); } }
// Update is called once per frame void Update() { if (Input.GetMouseButtonDown(0)) { Debug.Log("jump"); actionCharacter.Jump(); } else if (Input.GetMouseButtonDown(1)) { Debug.Log("sliding"); actionCharacter.Sliding(); } }