init
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
||||
System.register(["__unresolved_0", "cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, v3, math, _dec, _class, _crd, ccclass, property, RagdollBone;
|
||||
|
||||
function _reportPossibleCrUseOfRagdoll(extras) {
|
||||
_reporterNs.report("Ragdoll", "./Ragdoll", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
Component = _cc.Component;
|
||||
v3 = _cc.v3;
|
||||
math = _cc.math;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "402d2FQlftCEq4QHdigqn8m", "RagdollBone", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'director', 'Component', 'Node', 'Vec3', 'v3', 'math']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
property
|
||||
} = _decorator);
|
||||
|
||||
_export("RagdollBone", RagdollBone = (_dec = ccclass('RagdollBone'), _dec(_class = class RagdollBone extends Component {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
this.simuNode = null;
|
||||
this.initPos = v3();
|
||||
this.initRot = new math.Quat();
|
||||
this.ragdoll = void 0;
|
||||
}
|
||||
|
||||
}) || _class));
|
||||
|
||||
_cclegacy._RF.pop();
|
||||
|
||||
_crd = false;
|
||||
}
|
||||
};
|
||||
});
|
||||
//# sourceMappingURL=16943f8f7ce6b22136d1afbe85657c81d916047e.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/RagdollBone.ts"],"names":["_decorator","Component","v3","math","ccclass","property","RagdollBone","simuNode","initPos","initRot","Quat","ragdoll"],"mappings":";;;;;;;;;;;;;;;;AAASA,MAAAA,U,OAAAA,U;AAAsBC,MAAAA,S,OAAAA,S;AAAuBC,MAAAA,E,OAAAA,E;AAAIC,MAAAA,I,OAAAA,I;;;;;;;;;OAEpD;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBL,U;;6BAGjBM,W,WADZF,OAAO,CAAC,aAAD,C,gBAAR,MACaE,WADb,SACiCL,SADjC,CAC2C;AAAA;AAAA;AAAA,eACvCM,QADuC,GACtB,IADsB;AAAA,eAEvCC,OAFuC,GAEvBN,EAAE,EAFqB;AAAA,eAGvCO,OAHuC,GAGlB,IAAIN,IAAI,CAACO,IAAT,EAHkB;AAAA,eAIvCC,OAJuC;AAAA;;AAAA,O","sourcesContent":["import { _decorator, director, Component, Node, Vec3, v3, math } from \"cc\";\r\nimport { Ragdoll } from \"./Ragdoll\";\r\nconst { ccclass, property } = _decorator\r\n\r\n@ccclass('RagdollBone')\r\nexport class RagdollBone extends Component {\r\n simuNode: Node = null;\r\n initPos: Vec3 = v3();\r\n initRot: math.Quat = new math.Quat();\r\n ragdoll: Ragdoll\r\n}"]}
|
||||
Reference in New Issue
Block a user