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

[BUG] 不能热重载新替换的原版贴图 #1

Open
zerodegress opened this issue Nov 16, 2023 · 0 comments
Open

[BUG] 不能热重载新替换的原版贴图 #1

zerodegress opened this issue Nov 16, 2023 · 0 comments

Comments

@zerodegress
Copy link
Owner

描述

需要能够在运行时重载新替换的原版贴图,现在如果之前这个贴图没有被替换过的话无法进行热重载。

原因

默认游戏中的贴图都是不可修改的,目前只是在运行时将Mod中要修改的原版贴图替换为可修改的贴图,但不是所有贴图都被替换为可修改的。

参考解决方案

预先在运行时对GlobalData中所有的贴图都修改为可修改的。

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

1 participant