added: lock-on mechanics testing

This commit is contained in:
Chris
2025-03-19 15:51:41 -04:00
parent 49baf84191
commit ee40868efe
18 changed files with 387 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
public class GenericLockOnTarget : MonoBehaviour, ILockOnTarget{
public float lockonTargetRadius{ get; set; } = 1f;
public Renderer thisRenderer { get; }
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start(){
}
void Update(){
Debug.Log((this as ILockOnTarget).GetReticlePosition());
}
}