Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UICanvas 的 referenceResolutionPerUnit 是否应该影响 Text 的尺寸 #2532

Open
cptbtptpbcptdtptp opened this issue Jan 24, 2025 · 3 comments

Comments

@cptbtptpbcptdtptp
Copy link
Collaborator

需要讨论,在 Unity 中,这个属性只影响 Sprite
Image

@singlecoder
Copy link
Member

应该要影响吧,UI 作为一个整体?

@singlecoder
Copy link
Member

Text 有一个点,其实是通过 fontSize 来决定纹理大小

@cptbtptpbcptdtptp
Copy link
Collaborator Author

应该要影响吧,UI 作为一个整体?

修改这个值,理论上不影响 UI 元素的渲染尺寸,对于 Image 来说是这样的,它影响的是 Image 在 Slice 和 Tiled 模式下的渲染结果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants