Changeset 24561
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/_test.sim/simulation/components/test-serialize.js
r24462 r24561 88 88 TestScript1_consts.prototype.Schema = "<ref name='anything'/>"; 89 89 90 91 92 93 94 95 96 97 98 99 90 100 TestScript1_consts.prototype.GetX = function() { 91 return (+this.entity) + (+this.template.x);101 return ; 92 102 }; 93 103 -
ps/trunk/source/simulation2/scripting/ScriptComponent.cpp
r24462 r24561 63 63 ScriptRequest rq(m_ScriptInterface); 64 64 65 deserialize.ScriptObjectAssign("comp", m_Instance);66 67 65 m_ScriptInterface.SetProperty(m_Instance, "entity", (int)ent, true, false); 68 66 m_ScriptInterface.SetProperty(m_Instance, "template", paramNode, true, false); 69 67 68 70 69 }
Note:
See TracChangeset
for help on using the changeset viewer.