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.GetLayoutCellCenter

public Vector3 GetLayoutCellCenter();

Returns

Vector3 Cell Center coordinate.

Description

Get the default center coordinate of a cell for the set layout of the Grid.