Hit Effect

This is an additional sight that will be shown when hitting the target.

Preset

In the Preset, the type of sight is selected from the default there can be 2:

  1. Gun - a sight for machine guns, pistols.

  2. Shotgun - a sight for shotguns.

Next, based on the script that we have selected: IMGUI / UI Elements:

  1. IMGUI - you need to create the sight strips.

  2. UI Elements - you need to choose ready-made strips for the sight.

In Hide State, the state in which the sight will be hidden is selected.

Hit Settings

In Component, the component responsible for firing weapons is selected, and in Event, the function responsible for hitting the target is selected.

Next, the Arg field indicates the size of the sight and the speed of its increase when shooting.

Last updated