Beispiel #1
0
        private void RemoveLayer(LayerController layer)
        {
            int layerId = layer.GetId();

            layers.RemoveAt(layerId);

            for (int i = layerId; i < LayerCount; i += 1)
            {
                layers[i].SetId(i);
            }
        }
Beispiel #2
0
 internal void SwapLayers(LayerController layer1, LayerController layer2)
 {
     SwapLayers(layer1.GetId(), layer2.GetId());
 }