using UnityEngine; using System.Linq; using UOP1.Pool; using UOP1.Factory; [CreateAssetMenu(fileName = "NewSoundEmitterPool", menuName = "Pool/SoundEmitter Pool")] public class SoundEmitterPoolSO : ComponentPoolSO { [SerializeField] private SoundEmitterFactorySO _factory; public override IFactory Factory { get { return _factory; } set { _factory = value as SoundEmitterFactorySO; } } }