文档

Unity Engine

Unity Engine

RevertAllPropertyOverrides()

Removes all property overrides on this material.
阅读时间1 分钟最后更新于 2 天前

Definition

public void RevertAllPropertyOverrides()

Remarks

After reverting all Property overrides, the material will be in the same state as it's direct parent. Note that this method is Editor-only.
Additional Resources: Material.RevertPropertyOverride.