From 41d62f0f8e9cc03395f19c3fb3296c331850f3b4 Mon Sep 17 00:00:00 2001 From: caizhitao Date: Tue, 23 Jun 2020 18:51:11 +0800 Subject: [PATCH] bugfix --- assets/scripts/GlowInnerEffectScene.ts | 1 + assets/scripts/GlowInnerV2EffectScene.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/assets/scripts/GlowInnerEffectScene.ts b/assets/scripts/GlowInnerEffectScene.ts index a8d66d7..5a3d3e2 100644 --- a/assets/scripts/GlowInnerEffectScene.ts +++ b/assets/scripts/GlowInnerEffectScene.ts @@ -23,6 +23,7 @@ export default class GlowInnerEffectScene extends cc.Component { private _scrollView: cc.ScrollView = null; onLoad() { + cc.dynamicAtlasManager.enabled = false; this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider); this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label); diff --git a/assets/scripts/GlowInnerV2EffectScene.ts b/assets/scripts/GlowInnerV2EffectScene.ts index 62fca4a..d6b55eb 100644 --- a/assets/scripts/GlowInnerV2EffectScene.ts +++ b/assets/scripts/GlowInnerV2EffectScene.ts @@ -23,6 +23,7 @@ export default class GlowInnerV2EffectScene extends cc.Component { private _scrollView: cc.ScrollView = null; onLoad() { + cc.dynamicAtlasManager.enabled = false; this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider); this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label);