suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

UI scales abnormally in play #2469

Closed MagicHope closed 1 month ago

MagicHope commented 1 month ago

About UI Scaling

The following are the initial Settings in Demo and have not been modified. UISkillDialog size 200x250. CanvasLoading is set to 800x600, so running at this resolution, I should get its original size 200x250, but instead I get another size 165*208(approximate size). How can I get its original size 200x250? UISkillDialog UISkillDialog2

insthync commented 1 month ago

I really don't like to answer these kind of questions, it is not relates to the kit and I am not intend to be a unity tutor, I am just selling an assets.

You must learn more about Unity UI, its canvas system. You may find the canvas component and try changes its settings to see the result.

MagicHope commented 1 month ago

There are multiple canvas prefabs, find them, and set them all to the same resolution, and the problem is solved.

The cause of this problem is that multiple Canvas uses two different resolutions.

As a UI novice, we may not find it at the beginning of making UI.

Thanks to the author for the hint, but really didn't find a solution anywhere. Because this is a result of lack of experience.