Commit 27333627 authored by 杨一航's avatar 杨一航

fix

parent d747d890
This diff is collapsed.
...@@ -164,6 +164,14 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -164,6 +164,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._redLightList = topRoot.getChildByName("lights").getChildByName("red"); this._redLightList = topRoot.getChildByName("lights").getChildByName("red");
this._blueLightList = topRoot.getChildByName("lights").getChildByName("blue"); this._blueLightList = topRoot.getChildByName("lights").getChildByName("blue");
this._redLightList.children.forEach((node) => {
node.active = false
})
this._blueLightList.children.forEach((node) => {
node.active = false
})
this._blueHeadIcon = topRoot.getChildByName("blue").getChildByName("headIcon"); this._blueHeadIcon = topRoot.getChildByName("blue").getChildByName("headIcon");
this._redHeadIcon = topRoot.getChildByName("red").getChildByName("headIcon"); this._redHeadIcon = topRoot.getChildByName("red").getChildByName("headIcon");
this._redLb = topRoot.getChildByName("lb_red").getComponent(cc.Label) this._redLb = topRoot.getChildByName("lb_red").getComponent(cc.Label)
......
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": -1,
"trimX": 0, "trimX": 29,
"trimY": 0, "trimY": 21,
"width": 195, "width": 100,
"height": 44, "height": 22,
"rawWidth": 195, "rawWidth": 158,
"rawHeight": 44, "rawHeight": 62,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
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