using System.Collections; using System.Collections.Generic; using System.Linq; using AYellowpaper.SerializedCollections; using BITKit; using UnityEngine; namespace Net.Project.B.Emoji { public class ScriptableEmojiCollection:ScriptableObject { [SerializeField] private SerializedDictionary emojis; public IReadOnlyCollection> GetEmojis=>emojis.Select(x=>new EmojiData { Name = x.Key, Description = x.Value.name, Clip = x.Value }).OfType>().ToList(); } }