We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When serializing private fields, Unity will throw a warning about default values. So there should be:
string m_Name = null; ShaderPropertyType m_Type = ShaderPropertyType.Color; // or any other default one
string m_Name = null;
ShaderPropertyType m_Type = ShaderPropertyType.Color; // or any other default one
Or #pragma to suppress those warnings...
#pragma
The text was updated successfully, but these errors were encountered:
Hi @crmagicxxx Thank you for reporting!
Sorry, something went wrong.
fix #44; v2.2.0 has 2 warnings
76eea16
6c2ed22
mob-sakai
No branches or pull requests
When serializing private fields, Unity will throw a warning about default values. So there should be:
string m_Name = null;
ShaderPropertyType m_Type = ShaderPropertyType.Color; // or any other default one
Or
#pragma
to suppress those warnings...The text was updated successfully, but these errors were encountered: