fix ParameterHandler parsing Types

This commit is contained in:
Sinai
2022-01-02 19:55:09 +11:00
parent 7b477a8b0e
commit 274352d665
2 changed files with 14 additions and 2 deletions

View File

@ -97,6 +97,9 @@ namespace UnityExplorer.UI.Widgets
{
var input = this.inputField.Text;
if (typeof(Type).IsAssignableFrom(paramType))
return ReflectionUtility.GetTypeByName(input);
if (paramType == typeof(string))
return input;