GridAlignment.AlignToGridMethod in GridAlignmentDeclarationpublic void AlignToGrid()DescriptionUpdates the transform of the object to align to the grid.