2022-06-25 00:23:03 +08:00

10 lines
261 B
JavaScript

(function(){
if(!cc.Sprite.__assembler__.Simple3D) return;
let proto = cc.Sprite.__assembler__.Simple3D.prototype;
let nativeProto = renderer.SimpleSprite3D.prototype;
Object.assign(proto, {
_extendNative: nativeProto.ctor
})
})()