MaterialProperty attribute #201
Luanrobs
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What it does
It lets you pick properties like _MainTex, _Color, or _Emission from a list dynamically filled with the property names from a Material referenced in another field, storing either the property name or its id (via Shader.PropertyToID) depending on the field type.
Similar to AnimationParameter attribute #200, but for Materials.
Beta Was this translation helpful? Give feedback.
All reactions