MaterialEditor.EnableInstancingField

Switch to Manual
public bool EnableInstancingField ();

Description

Display UI for editing material's render queue setting.

Returns true if the UI is indeed displayed i.e. if the material's shader supports instancing.

See Also: Material.enableInstancing.


public void EnableInstancingField (Rect r);

Description

Display UI for editing material's render queue setting within the specified rect.