Item effects¶
The Item effects community component (Component) helps configure the effects an item has on a player and the duration of those effects. For instance, you can use this Component to set an item to boost a player's health points by 100% upon pickup. To add an effect, click + New item effect. You can add up to 10 effects to an item.
Property | Description |
---|---|
Duration | Determines how long the effect of the item will last.
|
Affected attribute | Specifies the attribute that will be affected by the item's effect. The available attributes include:
|
Action | Determines whether the item's effect is to increase or decrease the specified attribute.
|
Precision | Determines the precision of the item's effect:
|
Value | Specifies the percentage or exact value of the item's effect:
|
Note:
As this is a global Component, you can attach this Component to any object in the scene. However, it's a best practice to create an empty object named "GameManager" and attach this Component to it.