using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "DatabaseObject", menuName = "DatabaseObject")] public class DatabaseObject : ScriptableObject { public List achievements = new List(); } [System.Serializable] public class Achievement { public string name; public Sprite icon; [SerializeReference, SerializeReferenceButton] public IPlatform[] platformsSettings = null; public Unlock unlock; }