Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Configures an object to allow for a “point and shoot” type of mechanic, like a spray bottle or scanner.

Name

Description

Usable Layer Mask

A layer mask to apply to a Raycast when using Raycast to detect targets.

Raycast Transform

The transform from which to fire the Raycast.

Raycast Distance

The maximum distance for the Raycast.

Target Detection

Raycast: Use a Raycast to detect targets.

Colliders: Use collisions to detect targets.

Use Action

The action to take to trigger the action, one of Trigger Down or Trigger Up.

Use Haptic Effect

A haptic effect to fire on use.

Use Haptic Play Mode

When to play the effect: On Trigger Down, On Trigger Up, While Holding Trigger.