Version: 2022.3

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.

See Also: Material.RevertPropertyOverride.