Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Tilemap.SpriteArray

A read-only array containing Sprite EntityId s.
Read time 1 minuteLast updated 7 days ago

Definition

public struct Tilemap.SpriteArray : IEnumerable<Sprite>, IEnumerable, IDisposable

Remarks

This can be accessed by index to return a Sprite.

Properties

Property

Description

this[]Returns the Sprite indexed in the Tilemap.SpriteArray.
LengthThe number of elements in the Tilemap.SpriteArray.

Methods

Method

Description

DisposeFrees allocated memory for the Tilemap.SpriteArray.
GetEnumeratorRetrieves an iterator that allows you to iterate over all elements within the Tilemap.SpriteArray.