Skip to content

Commit

Permalink
[unity]由于plugin已经合并,由plugin提供的接口可以合并
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 19, 2024
1 parent 48621e3 commit f08a0f5
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,13 @@ puer.getGenericMethod = function(csType, methodName, ...genericArgs) {
return puer.createFunction(...overloadFunctions);
}

puer.getLastException = function() {
// todo
puer.getLastException = global.__puertsGetLastException
global.__puertsGetLastException = undefined;

puer.evalScript = global.__tgjsEvalScript || function (script, debugPath) {
return eval(script);
}
puer.evalScript = eval
global.__tgjsEvalScript = undefined;

let loader = jsEnv.GetLoader();
// function loadFile(path) {
Expand Down

0 comments on commit f08a0f5

Please sign in to comment.