Version: 2017.3

MaterialEditor.GetLeftAlignedFieldRect

Switch to Manual
public static Rect GetLeftAlignedFieldRect (Rect r);

Parameters

r Field Rect.

Returns

Rect A sub rect of the input Rect.

Description

Utility method for GUI layouting ShaderGUI.