ActivateWhenAimingWeapon
ComponentsVehicle
ActivateWhenAimingWeapon
Description
Activates the specified object when the specified weapon item is in the targeting state.
Usage
Add to any part of the vehicle object
Comment
Variables
| Name | Type | Description |
|---|---|---|
| weapon | Weapon | Specified weapon |
| invertActivation | bool | Whether to reverse activation (activate the specified object when not in aiming state) |
| objectToActivate | GameObject | Object to activate |
