Version: 2022.3
public bool isVariant ;

返回

bool True if the material is a variant.

描述

Returns true if this material is a material variant.

This property is Editor-only.

See Also: Material.parent.