This version of Unity is unsupported.

MaterialEditor.isVisible

public bool isVisible;

Description

Is the current material expanded.

Use this to check if custom material fields should be rendered.