Consider the code below --- MakeController is a static function injected into the scripting system. I am having a problem where I'm getting an exception on the second assignment to the 'cc' variable, i.e, the line
cc = MakeController(1,v);
The reason is "Unable to find appropriate '=' operator but I have absolutely no idea what that means.
Any insights would be appreciated.
var v = Round( K1.GetValue() * 127);
var cc = MakeController(71, v);
v = Round (K2.GetValue() * 127) ;
cc = MakeController(1, v);