Version: 2023.2

Material.RevertAllPropertyOverrides

切换到手册
public void RevertAllPropertyOverrides ();

描述

Removes all property overrides on this material.

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.