完善外发光

This commit is contained in:
caizhitao
2019-12-25 18:51:43 +08:00
parent af35b03f72
commit 7e147d61f6
4 changed files with 75 additions and 154 deletions

View File

@@ -23,6 +23,10 @@ export default class GlowOutterEffectScene extends cc.Component {
private _examplesParentNode: cc.Node = null;
onLoad() {
// 关闭动态合图
cc.dynamicAtlasManager.enabled = false;
// cc.dynamicAtlasManager.showDebug(true);
this._redSlider = cc.find("Canvas/Content/Sliders/ColorRedSlider/Slider").getComponent(cc.Slider);
this._redSliderLabel = cc.find("Canvas/Content/Sliders/ColorRedSlider/ValueLabel").getComponent(cc.Label);