Commit a5d35e43 authored by liujiaxin's avatar liujiaxin

1

parent 4a812efb
......@@ -13529,8 +13529,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1906.064,
1112.866,
-906.064,
512.866,
0,
0,
0,
......
......@@ -82,7 +82,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
callOcMethod(method, param) {
const paramStr = JSON.stringify(param);
if (cc.sys.isNative && cc.sys.os == cc.sys.OS_IOS) {
return jsb.reflection.callStaticMethod('CocosMng', `${method}:`, paramStr);
return jsb.reflection.callStaticMethod('RootViewController', `${method}:`, paramStr);
} else if (cc.sys.isNative && cc.sys.os == cc.sys.OS_ANDROID) {
return jsb.reflection.callStaticMethod('com/iplayabc/cocos/AppActivity', method, '(Ljava/lang/String;)Ljava/lang/String;', paramStr);
} else if (cc.sys.isNative && cc.sys.os == cc.sys.OS_WINDOWS) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment