BEHOLD, MY SUPER LASER PISS
This commit is contained in:
parent
084aada510
commit
e29208a2e5
23 changed files with 760 additions and 20 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue