This method inputs three parameters: the position of the player, the position of the target, and a reference to the prefab of the blip to be drawn.
Three steps are now required to get the blip for this object to appear on the radar:
- The normalized position of the target is calculated by calling NormalizedPosition(...).
- The position of the blip on the radar is calculated from this normalized position by calling CalculateBlipPosition(...).
- The RawImage blip is displayed by calling DrawBlip(...) and passing the blip's position and the reference to the RawImage prefab that is to be created there.