简体   繁体   English

Unity NGUI 在 Atlas 中添加新的 Sprite 并出现偏移问题

[英]Unity NGUI add new Sprite in Atlas and goes out wrong with offset Problem

im a client developer我是客户端开发人员

my app uses NGUI in 2020.3.17 version in unity我的应用程序统一使用 2020.3.17 版本的 NGUI

i always have a problem.. when i have to add a new sprite in a Atlas and update the atlas that i added new sprite goes wrong我总是有问题.. 当我必须在 Atlas 中添加一个新的 sprite 并更新我添加的新 sprite 的 atlas 时出错

not only the image that i added, every image in that atlas offset get messy do you now any reason of this?不仅是我添加的图像,那个图集偏移中的每个图像都变得混乱,你现在有什么原因吗?

is there any reason with the file path??文件路径有什么原因吗? the path is not in resource folder because to minimize the app storage with using Asset Bundle该路径不在资源文件夹中,因为要使用 Asset Bundle 最小化应用程序存储

here's some image plz help...这里有一些图片请帮助...

before adding new image in this Atlas enter image description here在此图集中添加新图像之前,请在此处输入图像描述

after adding new image in this Atlas enter image description here在此图集中添加新图像后,在此处输入图像描述

file Atlas Path Asset/Editor Default Resources/UI/Network enter image description here文件 Atlas Path Asset/Editor Default Resources/UI/Network在此处输入图像描述

If it is NGUI Atlas, you can drag and drop the text file created in TP Import.如果是NGUI Atlas,可以拖拽TP Import中创建的文本文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM