15 lines
659 B
Markdown
15 lines
659 B
Markdown
#unity/日常积累
|
||
|
||
# [RectTransformUtility](https://docs.unity.cn/cn/current/ScriptReference/RectTransformUtility.html).PixelAdjustPoint
|
||
|
||
public static [Vector2](https://docs.unity.cn/cn/current/ScriptReference/Vector2.html) PixelAdjustPoint ([Vector2](https://docs.unity.cn/cn/current/ScriptReference/Vector2.html) point, [Transform](https://docs.unity.cn/cn/current/ScriptReference/Transform.html) elementTransform, [Canvas](https://docs.unity.cn/cn/current/ScriptReference/Canvas.html) canvas);
|
||
|
||
## 返回
|
||
|
||
**Vector2** 像素调整点。
|
||
|
||
## 描述
|
||
|
||
将屏幕空间中的给定点转换为像素校正点。
|
||
|
||
![[Pasted image 20240402115713.png]] |