Skip to content

Commit 8c502e0

Browse files
authored
Merge pull request #184 from brunomikoski/feature/long-guids-displayed-as-base64
LongGuids are now displayed via their base64 string.
2 parents f6789d2 + 5d4d293 commit 8c502e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/Editor/PropertyDrawers/ULongGuidPropertyDrawer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
1414
long value2 = value2Property.longValue;
1515

1616
LongGuid guid = new LongGuid(value1, value2);
17-
string guidString = guid.ToString();
17+
string guidString = guid.ToBase64String();
1818

1919
EditorGUI.BeginDisabledGroup(true);
2020

2121
EditorGUI.TextField(position, label.text, guidString);
2222
EditorGUI.EndDisabledGroup();
2323
}
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)