Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MaskUtilities.GetRectMaskForClippable

public static UI.RectMask2D GetRectMaskForClippable(UI.IClippable clippable);

Parameters

transform Clippable to search from.

Description

Find the correct RectMask2D for a given IClippable.