Exemplo n.º 1
0
    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)));
    }
Exemplo n.º 2
0
    // Hide the lines
    void Hide()
    {
//		_linesSharedMaterial = _lineMaterial;
//		_linesReferenceColor = _linesSharedMaterial.color;

        StartCoroutine(LerpHelper.ColorFade(_lineMaterial, Color.clear, StateManager._instance._lerpTime, "Quintic", 0.0f));
    }