void Show() { print("Should show"); // print ("Line reference color is : " + _linesReferenceColor); StartCoroutine(LerpHelper.ColorFade(_lineMaterial, _lineColor, StateManager._instance._lerpTime, "Quintic", (0.7f * StateManager._instance._lerpTime))); }
// Hide the lines void Hide() { // _linesSharedMaterial = _lineMaterial; // _linesReferenceColor = _linesSharedMaterial.color; StartCoroutine(LerpHelper.ColorFade(_lineMaterial, Color.clear, StateManager._instance._lerpTime, "Quintic", 0.0f)); }