Internally used. Returns the index of the object in one of the Tilemaps arrays whose name
property matches the given name
.
name | type | description |
---|---|---|
location | array |
The Tilemap array to search. |
name | string |
The name of the array element to get. |
The index of the element in the array, or null if not found.