Overworld Merchant

A component to help define which GameObjects are merchants.

The Overworld Merchant component tells Inventool which GameObjects are merchants. This requires some sort of a 3D or 2D trigger collider that serves as the interaction range of the merchant.

As long as the Inventool.playerTransform field is set (through code or through the Initializer component), the merchant will automatically detect when the player is in range.

Properties

Name
Description

Merchant

The shopkeeper, craftsman or enchanter merchant scriptable object.

In Range Indicator

The object that is enabled/disabled when the player enters/exits the merchants range.

Scripting Side

Overworld Merchant

Last updated