Method RemoveLayer
RemoveLayer(int)
Removes the TilemapLayer element at the specified index in this AnimatedTilemapFrame.
public bool RemoveLayer(int index)Parameters
- indexint
- The index of the TilemapLayer element to remove from this AnimatedTilemapFrame. 
Returns
- bool
- true if the TilemapLayer element was successfully removed; otherwise, false. This method returns false if the specified index is less than zero or is greater than or equal to the total number of TilemapLayer elements in this tilemap frame. 
RemoveLayer(string)
Removes the TilemapLayer element with the specified name from this AnimatedTilemapFrame.
public bool RemoveLayer(string name)Parameters
- namestring
- The name of the TilemapLayer element to remove from this AnimatedTilemapFrame 
Returns
- bool
- true if the TilemapLayer element was successfully removed; otherwise, false. This method returns false if this tilemap frame does not contain a TilemapLayer element with the specified name. 
RemoveLayer(TilemapLayer)
Removes the given TilemapLayer element from this AnimatedTilemapFrame.
public bool RemoveLayer(TilemapLayer layer)Parameters
- layerTilemapLayer
- The TilemapLayer element to remove from this AnimatedTilemapFrame. 
Returns
- bool
- true if the TilemapLayer element was removed successfully; otherwise, false. This method returns false if this tilemap frame does not contain the TilemapLayer element given.