private void DoBorderFields()
{
EditorGUI.BeginChangeCheck();
Vector4 vector = this.ClampSpriteBorder(this.selected.m_Border);
int x = Mathf.RoundToInt(vector.x);
int w = Mathf.RoundToInt(vector.y);
int z = Mathf.RoundToInt(vector.z);
int y = Mathf.RoundToInt(vector.w);
this.FourIntFields("Border", "L", "T", "R", "B", ref x, ref y, ref z, ref w);
Vector4 border = new Vector4((float) x, (float) w, (float) z, (float) y);
if (EditorGUI.EndChangeCheck())
{
Undo.RegisterCompleteObjectUndo(this.m_RectsCache, "Change Sprite Border");
this.textureIsDirty = true;
this.selected.m_Border = this.ClampSpriteBorder(border);
}
}