mam taky vseobecny problem.. posielam si z flash wrapperu do unity generovaneho swfka nejaky object.
problem je v tom ze unity script mi nedovoli mat ziadne custom premene v Objekte ?
Posielam cez sendMessage object takto :
var messObj:Object = {isActionScriptMessage:true, rotationIsOn:rotationIsOn};
unityScene.sendMessage("Cube", "toggleRotation", messObj );
v as3 je Object genericky kontainer, cize dynamicky objekt ktory sa moze menit v pohode aj pocas authoring aj runtime..
Unity my ale vyhlasuje : Assets/Scripts/cubeScript.js(44,42): BCE0019: 'rotationIsOn' is not a member of 'Object'.
Je problem v tom ze puzivam pragma Strict ? a tym padom je aj Object stricly typed ?