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

10 lines
260 B
JavaScript

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