Replace tentacle model

How to replace the existing tentacle model
Tentacle — a stationary unit that always stays in place and attacks when the player enters its attack zone.To replace it, you need a logically suitable object, such as a mage tower, cannon, etc.
Open the controlling prefab Tentacles at
Assets/StaticAssets/Prefabs/Units/Tentacle.Replace the TentacleGraphics prefab with your own 3D model.

Your model must have the following components:

You can copy the Tentacle animator and replace its animations with your own. You should have three animations: Idle, Attack, and Death.
In the DamageFlashEffect component, specify only the objects that should flash when taking damage in the TargetRenderer field.
If you have a different type of attack, for example, a magical fireball, you’ll need to modify the logic of the Attack() method in the TentacleAttackState class.
Note that the Attack() method is triggered by an event specified in the animation:

The collider for receiving damage from the player must be attached only to the root object of the Tentacle.
Make sure the root object of the Tentacle is set to the Enemy layer.
Check the GameplayAssetsConfig configuration to ensure that the correct root tentacle prefab is assigned to the TentaclePrefab field.

Last updated