I am trying to cast a list to a type, but I am having issues on the following line:

value = isArray ? ((List<object>)value).ToArray() : value;

I am get,c#,unity3d"/>

首页 > 解决方案 > 如何将对象转换为列表 and turn it into an array?

I am trying to cast a list to a type, but I am having issues on the following line:

value = isArray ? ((List<object>)value).ToArray() : value;

I am get