Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TransformOriginOffset

Specifies the alignment keywords for TransformOrigin.
Read time 1 minuteLast updated 4 days ago

Definition

public enum TransformOriginOffset

Fields

Value

Description

BottomThe origin of the transform operation set to the bottom of the element.
CenterThe origin of the transform operation is set to the center of the element.
LeftThe origin of the transform operation is set to the left of the element.
RightThe origin of the transform operation is set to the right of the element.
TopThe origin of the transform operation is set to the top of the element.