最终效果 系列导航 前言 本节主要实现添加选择植物功能 选择植物 每个卡牌插槽和前面植物卡牌类似,并配置为预制体 新增ScriptableObject,配置植物列表卡牌数据 [CreateAssetMenu(fileName = "CardData", menuName = "CardData", order = 0)] public class CardData : ScriptableObject { public List<CardItem> cardItemDataList = new List<CardItem>(); } [System.Serializable] public class CardItem { public string name; public float waitTime; public int useSun; public GameObject prefab; public Sprite sprite; } 配置 新增ChooseCardPanel,渲染植物列表卡牌数据 public class ChooseCardPanel :...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with GameObject
Contact GameObject, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack