文档

Unity Engine

Unity Engine

RevertAllPropertyOverrides()

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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.