movement and dialogue system

This commit is contained in:
Sylvia 2026-07-25 02:23:50 -07:00
parent 977e666577
commit 1590b5faa6
123 changed files with 62825 additions and 355 deletions

View file

@ -0,0 +1,22 @@
using System;
using UnityEngine;
using UnityEngine.InputSystem;
public class Player : CombatEntity
{
//[Header("Input")]
//private InputAction moveAction;
/*private void Start()
{
//moveAction = InputSystem.actions.FindAction("Move");
}*/
protected override void Movement()
{
base.Movement();
//Debug.Log(moveAction.actionMap);
//moveDirection = moveAction.ReadValue<Vector2>();
moveDirection = new Vector3(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"), 0);
}
}