using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace BITKit { public class VFX : ScriptableObject, IObjectElement { public string[] tags; public Transform[] prefabs; public AudioClip[] clips; public Transform GetValue() => prefabs.Random(); public Transform prefab=>prefabs.Random(); public bool IsMatch(string[] key)=>MathE.Contains(key,tags); } }