SpriteMaskUtility.HasSpriteMaskInLayerRange

Declaration

public static bool HasSpriteMaskInLayerRange(Rendering.SortingLayerRange range);

Parameters

range The inclusive range to search for any Sprite Masks.

Returns

bool True if successful. Returns true if there are any active Sprite Masks within the specified range.

Description

Checks if there are any active Sprite Masks within a specified range.


Did you find this page useful? Please give it a rating: