示例#1
0
    public static void AssignWorker(Guid settler)
    {
        if (s_instance == null)
        {
            return;
        }


        M_BuildingManager.SRemoveSettler(settler);
        M_SettlersManager.SAssignWorkplace(settler, s_instance.m_currentBuilding.GetId());
        M_BuildingManager.SAssignSettler(s_instance.m_currentBuilding.GetId(), settler);

        s_instance.RefreshUI();
    }