BEHOLD, MY SUPER LASER PISS

This commit is contained in:
reisenlol 2026-01-30 02:26:51 -08:00
parent 084aada510
commit e29208a2e5
No known key found for this signature in database
23 changed files with 760 additions and 20 deletions

View file

@ -3,6 +3,14 @@ using UnityEngine;
public class Marisa : Entity
{
[Header("Mouse")]
[SerializeField] private Camera cam;
public Vector2 mouseWorldPos;
private void Update()
{
mouseWorldPos = cam.ScreenToWorldPoint(Input.mousePosition);
}
protected override void FixedUpdate()
{
moveDirection = new Vector2(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"));