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.

GridBrushBase.Rotate

public void Rotate(GridBrushBase.RotationDirection direction, GridLayout.CellLayout layout);

Parameters

directionDirection to rotate by.
layoutCell Layout for rotating.

Description

Rotates all tiles on the grid brush with the given RotationDirection.