예제 #1
0
    /// <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);
    }
예제 #2
0
    public void AddFlower(Vector3Int wPos)
    {
        BiomeForPlantData flowersData = new BiomeForPlantData
        {
            addRate       = 0.005f,
            listPlantType = new List <BlockTypeEnum> {
                BlockTypeEnum.MushroomLuminous
            }
        };

        BiomeCreatePlantTool.AddFlower(701, wPos, flowersData);
    }
예제 #3
0
    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);
    }
예제 #4
0
    protected void AddFlower(Vector3Int wPos)
    {
        BiomeForPlantData flowersData = new BiomeForPlantData
        {
            addRate       = 0.02f,
            listPlantType = new List <BlockTypeEnum> {
                BlockTypeEnum.FlowerMetal
            }
        };

        BiomeCreatePlantTool.AddFlower(101, wPos, flowersData);
    }