Need an explanation
What does this "public Vector2 directionToTarget => target.transform.position - detectorOrigin.position;" do?
Does it simply return a value that is target's position - detectorOrigin's position?
What does this "public Vector2 directionToTarget => target.transform.position - detectorOrigin.position;" do?
Does it simply return a value that is target's position - detectorOrigin's position?