Tilemap.GenerateOneWayPlatformRects(string) Method
Definition
Namespace: Brine2D.Tilemap
Returns world-space rects for all one-way platform tiles on the layer. Requires both HasCollision and IsOneWayPlatform. Parallax is not applied.
C#
public System.Collections.Generic.List<Brine2D.Core.Rectangle> GenerateOneWayPlatformRects(string layerName);
Parameters
layerName System.String