entity changes, classes

This commit is contained in:
reisenlol 2026-01-20 01:52:57 -08:00
parent bda2b88796
commit 8bd4aedcf9
No known key found for this signature in database
20 changed files with 1917 additions and 27 deletions

View file

@ -0,0 +1,11 @@
using System;
using UnityEngine;
public class AttachToCursor : MonoBehaviour
{
[SerializeField] private Camera cam;
private void Update()
{
transform.position = cam.ScreenToWorldPoint(Input.mousePosition) + new Vector3(0, 0, cam.nearClipPlane);
}
}