/// <summary> /// 增加火焰花 /// </summary> /// <param name="wPos"></param> public void AddFireFlower(Vector3Int wPos) { BiomeForPlantData flowersData = new BiomeForPlantData { addRate = 0.005f, listPlantType = new List <BlockTypeEnum> { BlockTypeEnum.FlowerFire } }; BiomeCreatePlantTool.AddFlower(201, wPos, flowersData); }
public void AddFlower(Vector3Int wPos) { BiomeForPlantData flowersData = new BiomeForPlantData { addRate = 0.005f, listPlantType = new List <BlockTypeEnum> { BlockTypeEnum.MushroomLuminous } }; BiomeCreatePlantTool.AddFlower(701, wPos, flowersData); }
protected void AddFlower(Vector3Int wPos) { BiomeForPlantData flowersData = new BiomeForPlantData { addRate = 0.01f, listPlantType = new List <BlockTypeEnum> { BlockTypeEnum.FlowerSun, BlockTypeEnum.FlowerRose, BlockTypeEnum.FlowerChrysanthemum, BlockTypeEnum.FlowerWood } }; BiomeCreatePlantTool.AddFlower(101, wPos, flowersData); }
protected void AddFlower(Vector3Int wPos) { BiomeForPlantData flowersData = new BiomeForPlantData { addRate = 0.02f, listPlantType = new List <BlockTypeEnum> { BlockTypeEnum.FlowerMetal } }; BiomeCreatePlantTool.AddFlower(101, wPos, flowersData); }