Beispiel #1
0
    private void PlantPlant(Plant type)
    {
        GameObject plantObj = Instantiate(type.gameObject, transform);

        Plant = plantObj.GetComponent <Plant>();
        Plant.CalcPropertys();
        Plant.Tile = this;
    }