Exemple #1
0
    void OnMouseDown()
    {
        // Equipments.instance.get_selected_seed().sew_plant(this.gameObject.transform.position + new Vector3(0,0,.1f));
        Seeds equippedSeed = Equipments.instance.get_equipped_seed();

        if (equippedSeed != null)
        {
            currentPlant = equippedSeed.sew_plant(this);
        }
    }