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()); } }