Example #1
0
    public void ClearModes()
    {
        status_text.text = "";

        buildingDeleteModeOn = false;

        barDeleteModeOn = false;

        create_building_panel.SetActive(false);
        if (buildingPlacement.IsDraggingOn())
        {
            buildingPlacement.ChangeDragging();
        }

        if (barPlacement.IsDraggingOn())
        {
            barPlacement.ChangeDragging();
        }

        skyExposure.EscComputationMode();

        landmarkModeOn = false;
    }