using System.Collections.Generic; using UnityEditor; using UnityEngine; [System.Serializable] public class ChestPrefabAsset : PrefabAssetModel { [SerializeField] public Chest Chest = null; //public List> Content { get; set; } public ChestPrefabAsset(Chest _chest) : base(_chest.name, _chest.ChestModel.name, new Vector3(0,0,0)) { Chest = _chest; } public ChestPrefabAsset(string _name, string _prefabAssetName, Vector3 _position, Chest _chest = null) : base(_name, _prefabAssetName, _position) { Chest = _chest; } public ChestPrefabAssetData MapPrefabAssetModelToData() { return new ChestPrefabAssetData(this); } }