Пример #1
0
    //------------------------------------------------------------------
    //The following methods handle actions for mesh editing and similar
    //operations. These are called by UI buttons and keyboard input in the
    //"Update" method.
    public void ToggleSelectAll()
    {
        if (selectionMode == 0)
        {
            selMesh.ToggleAllVertSelection();
        }
        else
        {
            selMesh.ToggleAllFaceSelection();
        }

        transformGizmo.OnSelectionChange();
    }