/** * _alpha - current value in alpha field * _smoothness - lerp smoothnes on changing * _destroy - destroy CanvasGroupController at the end */ public void Fade(float _alpha, float _smoothness, bool _destroy) { if (cgcontroller != null && cgroup != null) { cgcontroller.Fade(cgroup, _alpha, _smoothness, _destroy); } }