Appearance
关卡预放置配置,用于在关卡开始前预先放置植物。
interface PreSpawnConfig { Packet: PlantItem[]; // 预放置植物数组 }
PlantItem[]
预放置的植物数组,包含要在关卡开始前放置的所有植物信息。
{ "Packet": [ { "Name": "Peashooter", "GridPos": [1, 2] }, { "Name": "Sunflower", "GridPos": [0, 1] } ] }