Hey guys,
I have this code below where I want to add an object value to an Object Array Type:
object functionResults;
[ArrayEditor(VariableType.Object)]
public FsmArray theFunctionResult;
theFunctionResult.Values = new object[1];
theFunctionResult.Values.SetValue(functionResults, 0);
But this code throws this error "Error Editing Field The Function Result, Cannot Cast from Source Type to Destination Type" when I play it. See pic in attachment. How can I get this to work?
Thanks,
jrDev