This commit is contained in:
caizhitao 2020-06-23 18:51:11 +08:00
parent 2ab560aa7a
commit 41d62f0f8e
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ export default class GlowInnerEffectScene extends cc.Component {
private _scrollView: cc.ScrollView = null; private _scrollView: cc.ScrollView = null;
onLoad() { onLoad() {
cc.dynamicAtlasManager.enabled = false;
this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider); this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider);
this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label); this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label);

View File

@ -23,6 +23,7 @@ export default class GlowInnerV2EffectScene extends cc.Component {
private _scrollView: cc.ScrollView = null; private _scrollView: cc.ScrollView = null;
onLoad() { onLoad() {
cc.dynamicAtlasManager.enabled = false;
this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider); this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider);
this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label); this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label);