示例#1
0
 void SetLineRenderersColor()
 {
     if (_LineRendererBG != null)
     {
         MiroV1ModelSetting modelSet = _model.GetComponent <MiroV1ModelSetting> ();
         Color cr = modelSet._colorSetting._ENBG;
         LineRendererSetting.SetColor(_LineRendererBG, cr);
     }
 }
示例#2
0
        void SetLineRenderersColor()
        {
            MiroV1ModelSetting modelSet = _model.GetComponent <MiroV1ModelSetting> ();
            Color cr = modelSet._colorSetting._ENMax;

            foreach (LineRenderer lr in _StrokeLineRenderers)
            {
                LineRendererSetting.SetColor(lr, cr);
            }
        }