Commit 68f02200 authored by Vũ Gia Vương's avatar Vũ Gia Vương

change node bua

parent 5e2b2540
......@@ -3214,7 +3214,11 @@
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 69
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -3226,8 +3230,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3238,15 +3242,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
300,
-300,
0,
0,
0,
-0.25881904510252074,
0.9659258262890683,
0.9,
0.9,
0,
0,
0,
1,
1,
1,
1.5
]
},
......@@ -3254,7 +3258,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -30
"z": 0
},
"_skewX": 0,
"_skewY": 0,
......@@ -3275,9 +3279,6 @@
"_components": [
{
"__id__": 68
},
{
"__id__": 69
}
],
"_prefab": null,
......@@ -3303,15 +3304,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
265.906,
-265.906,
0,
0,
0,
0,
0,
0,
1,
1,
1,
-0.25881904510252074,
0.9659258262890683,
0.9,
0.9,
1
]
},
......@@ -3319,7 +3320,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -30
},
"_skewX": 0,
"_skewY": 0,
......@@ -3328,16 +3329,6 @@
"groupIndex": 0,
"_id": "81SYR6jBxG4pPCNuvsIvey"
},
{
"__type__": "fa954JGo2FPTIS/o0ccP3kC",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_id": "de4Eqj7wlDIqqcvtH5WY/o"
},
{
"__type__": "sp.Skeleton",
"_name": "",
......@@ -3380,6 +3371,16 @@
"_N$enableBatch": false,
"_id": "2630BEMbxI2aIqW/h89Jn3"
},
{
"__type__": "fa954JGo2FPTIS/o0ccP3kC",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"_id": "74FwAooblKp5Uz0cmQR1wo"
},
{
"__type__": "1310bpqizlA157YGiuO40IK",
"_name": "",
......
......@@ -15,7 +15,7 @@ export default class BuaController extends cc.Component {
private _beatTotal = [1, 2, 3, 4];
protected onLoad(): void {
this.spine = this.node.getComponent(sp.Skeleton);
this.spine = this.node.getComponentInChildren(sp.Skeleton);
this.spine.setSkin('Bua');
......
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