How to get all the names of shader properties without editor class during the runtime
Looking for a way can get the list of properties in shader without editor class, but Material and Shader seem not expose the property list. How can I get the property names by script without UnityEditor namespace?
Comment
Answer by trooper · Jul 16, 2018 at 07:46 AM
Don't think you can get all properties but there is this now:
https://docs.unity3d.com/ScriptReference/Material.GetTexturePropertyNames.html
Is there a workaround for this now? using https://docs.unity3d.com/ScriptReference/Material.GetTexturePropertyNames.html does not include the unexposed properties
Your answer
![](https://koobas.hobune.stream/wayback/20220612104108im_/https://answers.unity.com/themes/thub/images/avi.jpg)