Exemple #1
0
 /// <summary>
 /// sets this component to only render a single layer
 /// </summary>
 /// <param name="layerName">Layer name.</param>
 public void SetLayerToRender(string layerName)
 {
     LayerIndicesToRender    = new int[1];
     LayerIndicesToRender[0] = TiledMap.GetLayerIndex(layerName);
 }