DelegatedTargetTrackingAmmoEffect MonoBehaviour
Overview
The DelegatedTargetTrackingAmmoEffect behaviour is used to tag targets for guided projectiles to home in on. The tagged target is assigned to the TransformTargetingSystem assigned to its Targeting System property. Projectiles must use a TargetingSystemTracker component.
Inspector
![]()
Properties
| Name | Type | Description |
|---|---|---|
| Damage Type | Dropdown | The type of damage the impact counts as. This is a common property for all ammo effects and actually has no effect in this case. |
| TargetingSystem | TargetingSystemTracker | The targeting system to assign the tagged transform to. |
| Secondary Effect | AmmoEffect | An optional secondary ammo effect to allow the tracking bullet to deal damage, etc. |
| Valid Object Tag | Float | Only objects with this tag can be targeted. If this is empty then any hit object will be assigned as a target. |