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

fix

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