void DrawBuildTargetIcon(Rect itemPosition, PlatformData platform) { var icon = itemPosition; icon.x += 2; icon.y += (icon.height - kTargetIconSize) * 0.5f; icon.width = icon.height = kTargetIconSize; GUI.DrawTexture(icon, platform.icon); itemPosition.x = icon.xMax + 4f; itemPosition.y += (itemPosition.height - 16f) * 0.5f; itemPosition.height = 16f; GUI.Label(itemPosition, platform.ToString()); }