bossList = new List 赞 踩 Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。
unity ScriptableObject里面怎么序列化_unity scriptableobject none monoscript
[CreateAssetMenu(fileName = "NewBossList", menuName = "List/BossList")]
public class BossList : ScriptableObject
{
public List<OneBossInfo> bossList = new List<OneBossInfo>();
public OneBossInfo[] one;
}
[System.Serializable]
public class OneBossInfo
{
public int bossID;
public string bossName;
public Sprite bossSprite;
public string[] equipNames;
}