improv: lock on targeting debugging option

This commit is contained in:
Chris
2025-10-04 16:56:28 -04:00
parent 1240afb051
commit de460d9f0a
3 changed files with 29 additions and 11 deletions

View File

@@ -3,7 +3,9 @@ using UnityEngine;
public class GenericLockOnTarget : MonoBehaviour, ILockOnTarget{
public float lockonTargetRadius{ get; set; } = 1f;
public bool lockonDebug{ get; set; } = false;
public float lockonRaycastVerticalOffset{ get; set; }
public void OnTargetDelete(){
GetComponent<ILockOnTarget>().SafelyDeleteTarget();
}