コード例 #1
0
    void PlaceSeedInPot(GameItem plantItem, WorldItem targetPot)
    {
        targetPot.AddPlantToWorldPotItem(plantItem);

        // Delete the bit of UI floating around
        Destroy(heldObject.gameObject);

        ClearHeldObject();
        HidePlacePointMarkers();
    }