I'm in need of an 'eval' function as in Javascript, but C# has none (and I don't care for the C# implementations). It needs to run in an Editor script, which is C#.
So I figured I'd make a little Javascript:
function evaluate(s)
{
eval(s);
}
But I'm getting the old 'does not exist in the current context' error. I tried moving the eval jscript to the Plugins folder, no luck.
Any other way to do this?