Interact Item Trigger component

Items with an Interact Item Trigger will have a “Use” function added. A message will be sent when the item placed in the world is used.

property

See common settings for triggers.

detail

There must be at least one Collider component either in the same hierarchy or as a child of the Interact Item Trigger component to specify the range of objects that can be used.

Layers are automatically set on the GameObject to which this component is attached and on child GameObjects.