Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsPositionDefines how the position values are interpreted by the layout engine.阅读时间1 分钟最后更新于 1 个月前Definition Type: Enum Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public enum Position Fields ValueDescriptionAbsoluteThe element is positioned in relation to its parent box and doesn't contribute to the layout anymore.RelativeThe element is positioned in relation to its default box as calculated by layout.