Highlighter.Update C# (CSharp) Method

Update() private method

private Update ( ) : void
return void
    void Update()
    {
        //Clear the highlight if there's no mouse button held down.
        //  Fixes problems for us, but makes this class a bit less abstract.  Oh well.
        if(!Input.GetMouseButton(0))
        {
            highlight(null, Color.black);
        }
    }