Exemplo n.º 1
0
        private void SelectedMaskBounds(Bounds bounds)
        {
            previousBounds = bounds;
            runtimeRectangularMask.MoveToBounds(bounds);
            PropertiesPanel.Instance.OpenLayers();

            maskLayer.ToggleLinkedObject(true);
            if (!maskSettings.gameObject.activeSelf)
            {
                maskLayer.ToggleLayerOpenedWithCustomOptions(maskSettings.gameObject);
            }

            gridSelection.gameObject.SetActive(false);
        }