Crosshair3D.EndHover C# (CSharp) Method

EndHover() private method

private EndHover ( ) : void
return void
    void EndHover()
    {
        if (previousHitGameObject != null)
        {
          SendEventToGameObject(previousHitGameObject, "OnHoverEnd");
          previousHitGameObject = null;
        }

        // it's save to call this every time.  sometimes previousHitGameObject becomes null and testing previousHitGameObject.tag == kCrosshairTargetable fails?
        _animatedCrosshair.SetState(ReticleState.kClosed);
    }