PropertyHelper.DrawProperty C# (CSharp) Method

DrawProperty() private method

private DrawProperty ( bool isMine, float width ) : void
isMine bool
width float
return void
	private void DrawProperty(bool isMine, float width) {
		GUILayout.BeginVertical(GUILayout.Width(ObjectMerge.colWidth + 6));
		if(GetProperty(isMine) != null) {
			UniMerge.Util.Indent(width + UniMerge.Util.TAB_SIZE * 3, delegate {
#if UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5
				EditorGUILayout.PropertyField(GetProperty(isMine));
#else
				EditorGUILayout.PropertyField(GetProperty(isMine), true);
#endif
			});
		} else GUILayout.Label("");
		GUILayout.Space(10);
		GUILayout.EndVertical();
	}
}