This version of Unity is unsupported.

SpriteShapeRenderer.GetBounds

public NativeArray<Bounds> GetBounds();

Returns

NativeArray<Bounds> NativeArray of Bounds of SpriteShapeRenderer. The size of this will always be 1.

Description

Get Bounds data as NativeArray. The array count of this NativeArray will always be 1.