RaycastTargetingSystem MonoBehaviour
Overview
The RaycastTargetingSystem behaviour is a targeting system that passes the current raycast hit point to any guided projectiles that have been registered with it. Those projectiles require a TargetingSystemTracker component attached.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Raycast Layers | LayerMask | The layers to cast against. |
| Max Distance | Float | The max distance for targets to home in on. |
| Continuous | Boolean | Should the targetying system update the projectiles each tick or just pass the initial hit point. |
| Min Interval | Float | The targeting system will only check for new targets after the min interval has elapsed since the last time, passing the last target to any new trackers before that. This is useful for burst launchers so that each missile tracks the same target. |
| Use Camera Aim | Dropdown | When set to use camera aim, the targeting system casts forward from the FirstPersonCamera's aim transform. If not then it casts from the transform the targeting system is attached to. |