fix string unbox

This commit is contained in:
Sinai committed 2021-04-07 17:31:06 +10:00
1 parent b68145385c
commit 95e8b3aa58
2 files changed
+65 -59

No files matched your search

@@ -24,7 +24,8 @@ namespace UnityExplorer.UI.InteractiveValues
public override void OnValueUpdated()
{
Value = RuntimeProvider.Instance.Reflection.UnboxString(Value);
if (!(Value is string) && Value != null)
Value = RuntimeProvider.Instance.Reflection.UnboxString(Value);
base.OnValueUpdated();
}