Dynamic Props
Things like exploding barrels and dynamic props in general are something that you will need to implement on your own for the most part. The example in the demos for Exploding Barrels is fairly simple.
// (c) Copyright Cleverous 2026. All rights reserved.
using Cleverous.VaultAttributes;
using UnityEngine;
namespace Cleverous.Prodigy
{
public class ExplodingProp : MonoBehaviour, IDamageable
{
public ParticleSystem Particles;
public GameObject MeshObj;
public Collider Collider;
public int LifeId => Random.Range(100000, 200000);
public int TeamId => 1000;
public StrikeNodeData PointData => StrikeNodeData.Default;
public void Damage(Damage data)
{
Collider.enabled = false;
MeshObj.SetActive(false);
Particles.Play();
Destroy(gameObject, 5);
}
}
}This is a really basic implementation of IDamageable doing something. The rest is just particle effects. You could easily extend this to scan the area for Agents and apply Damage and Push effects onto nearby enemies.
Last updated
Was this helpful?