Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题,在 orthello 包中,我创建了精灵图集并将精灵导入其中。然后我从这些精灵创建了预制件,并在预制件中更改了这些精灵的比例。不幸的是,当我把这个预制件放到场景中时,旧的比例正在恢复。有什么想法吗?
我在脚本中自动恢复变量时遇到了类似的问题。我建议做同样的事情。附加到在 Start 或 Awake 函数中设置所需比例的预制脚本。