public static void SetMarkerByName(string name, Vector3 position, ActionType actionType, float value)
    {
        MarkerHandler markerHandler = GameObject.Find("Board").GetComponent <MarkerHandler>();

        if (!dictionary[name + "Marker1"].isUsed)
        {
            if (name == "Cook")
            {
                markerHandler.GetMarkerByName(name, 1).transform.position = position + new Vector3(0, 8, 0);
                name += "Marker1";
                Marker marker = new Marker();
                dictionary[name].actionType = actionType;
                dictionary[name].isUsed     = true;
                dictionary[name].value      = value;
            }
            else if (name == "Friday")
            {
                markerHandler.GetMarkerByName(name, 1).transform.position = position + new Vector3(0, 8, 0);
                dictionary[name + "Marker1"].actionType = actionType;
                dictionary[name + "Marker1"].isUsed     = true;
                dictionary[name + "Marker1"].value      = value;
            }
            else if (name == "Dog")
            {
                markerHandler.GetMarkerByName(name, 1).transform.position = position + new Vector3(0, 8, 0);
                dictionary[name + "Marker1"].actionType = actionType;
                dictionary[name + "Marker1"].isUsed     = true;
                dictionary[name + "Marker1"].value      = value;
            }
        }
        else if (!dictionary[name + "Marker2"].isUsed)
        {
            if (name == "Cook")
            {
                markerHandler.GetMarkerByName(name, 2).transform.position = position + new Vector3(0, 8, 0);
                dictionary[name + "Marker2"].actionType = actionType;
                dictionary[name + "Marker2"].isUsed     = true;
                dictionary[name + "Marker2"].value      = value;
            }
        }
    }
    public static void RemoveMarkerByName(string name, Vector3 position, ActionType actionType)
    {
        MarkerHandler markerHandler = GameObject.Find("Board").GetComponent <MarkerHandler>();

        if (actionType == ActionType.explore || actionType == ActionType.collect)
        {
            position.y += 1;
        }

        if (markerHandler.GetMarkerByName(name, 1).transform.position.Round().x == position.Round().x&& markerHandler.GetMarkerByName(name, 1).transform.position.Round().z == position.Round().z)
        {
            markerHandler.GetMarkerByName(name, 1).transform.position = markerHandler.GetInitMarkerPositionByName(name, 1);
            dictionary[name + "Marker1"].actionType = ActionType.unknown;
            dictionary[name + "Marker1"].isUsed     = false;
            dictionary[name + "Marker1"].value      = 0;
        }
        else if (markerHandler.GetMarkerByName(name, 2).transform.position.Round().x == position.Round().x&& markerHandler.GetMarkerByName(name, 2).transform.position.Round().z == position.Round().z)
        {
            markerHandler.GetMarkerByName(name, 2).transform.position = markerHandler.GetInitMarkerPositionByName(name, 2);
            dictionary[name + "Marker2"].actionType = ActionType.unknown;
            dictionary[name + "Marker2"].isUsed     = false;
            dictionary[name + "Marker2"].value      = 0;
        }
    }