nameID | 属性名称 ID,使用 Shader.PropertyToID 获取。 |
name | 属性名称,例如“_SrcBlend”。 |
bool Returns true if the property you pass in is overriden by this material. Otherwise, returns false.
Checks whether a property is overriden by this material.
This method is Editor-only.
Additional resources: Material.ApplyPropertyOverride, Material.RevertPropertyOverride.