fix string unbox

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

View File

@ -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();
}