예제 #1
0
        void UpdateSelection(bool selectionChanged = true)
        {
            UpdateMeshHandles(selectionChanged);

            if (selectionChanged)
            {
                MeshSelection.OnComponentSelectionChanged();
                UpdateSceneInfo();
            }

            if (selectionUpdated != null)
            {
                selectionUpdated(selection);
            }
        }
예제 #2
0
        void UpdateSelection(bool selectionChanged = true)
        {
            // todo remove selection property
            selection = MeshSelection.topInternal.ToArray();

            UpdateMeshHandles(selectionChanged);

            if (selectionChanged)
            {
                UpdateSceneInfo();
                MeshSelection.OnComponentSelectionChanged();
            }

            if (selectionUpdated != null)
            {
                selectionUpdated(selection);
            }
        }