文档

Unity Engine

Unity Engine

AlignmentUtils

Static class containing utility methods for aligning visual elements.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class AlignmentUtils

Static Methods

Method

Description

CeilToPanelPixelSizeReturn the next larger value representing a whole number of pixels on the target when rendered.
FloorToPanelPixelSizeReturn the next smaller value representing a whole number of pixels on the target when rendered.
RoundToPanelPixelSizeRound the value so that it is a whole number of pixels on the target when rendered.