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

Serialization 序列化时处理不可更改对象 #55

Open
wardenfeng opened this issue Mar 3, 2019 · 1 comment
Open

Serialization 序列化时处理不可更改对象 #55

wardenfeng opened this issue Mar 3, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@wardenfeng
Copy link
Member

在 Serialization 反序列化时遇到不可更改对象(比如Texture2D.default),应当新建对象而不是在原来不可更改对象(比如Texture2D.default)上修改。

@wardenfeng wardenfeng added the bug Something isn't working label Mar 3, 2019
@wardenfeng
Copy link
Member Author

此处可根据 hideFlags: HideFlags.NotEditable 进行判断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant