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

The ApplySNShaders script should have the MaterialIndices array defaulted to one element #569

Closed
Indigocoder1 opened this issue Dec 12, 2024 · 1 comment

Comments

@Indigocoder1
Copy link
Contributor

Indigocoder1 commented Dec 12, 2024

Describe the feature
On the ApplySNMaterial script from the TK Utilities PR, the MaterialIndices array should be defaulted to having one element.

Purpose
It's easy to confuse the Size 0 with Element 0, and then getting unexpected behavior when the script doesn't work.
Defaulting it would also just be nice so you didn't have to add one element to get it to work.

@Indigocoder1
Copy link
Contributor Author

Never mind, I just forgot to update the reference in my Unity project ._.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant