LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

GridLayout.GetBoundsLocal

public Bounds GetBoundsLocal(Vector3Int cellPosition);

Parameters

localPositionLocation of the cell.

Returns

Bounds Local bounds of cell at the position.

Description

Returns the local bounds for a cell at the location.