Setting up the Decals Component
Last updated
Last updated
Note: Emerald AI 2024 version 1.2.0 or higher is required to use this component.
The Decals Component allows users to set decal prefabs that will be spawned and positioned when the AI receives damage. This is intended to be used with Unity URP or HDRP's built-in decal system, but can be used with custom solutions as well.
You can assign your Blood Decals through the Blood Effects list and adjust the settings as needed. This is intended to be used with an AI's Hit Effects within an AI's Health Component. You can add a delay using the Blood Spawn Delay setting to allow your Hit Effects time to play before the blood decal effects hit the ground.
Note: You will need to add your own decal effects to the Decals List. Unity URP and Unity HDRP both have built-in decal systems you can use.