using UnityEngine;

namespace pdinklag.CPW.Common
{
    [RequireComponent(typeof(Rigidbody))]
    public class ClutterPrefab : MonoBehaviour
    {
        public delegate void AwakeListener(ClutterPrefab weaponPrefab);
        public static AwakeListener OnAwake;

        [Tooltip("The sound group played when a clutter object impacts.")]
        public AssetAddress ImpactSoundGroup;

        private void Awake()
        {
            OnAwake?.Invoke(this);
        }
    }
}
