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

change node bua

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