void SetActiveBar(ReadingBar bar)
    {
        if (activeBar != null)
        {
            activeBar.Active = false;
            activeBar.Complete();
        }

        activeBar = bar;
        if (activeBar != null)
        {
            activeBar.Active = true;
        }
    }
        void OnPointerDown()
        {
            if (dragging)
            {
                return;
            }

            var inputManager = game.Context.GetInputManager();

            dragging = game.barSet.PickGlass(Camera.main, inputManager.LastPointerPosition);

            if (dragging != null)
            {
                draggingOffset = dragging.GetGlassScreenPosition() - inputManager.LastPointerPosition;
            }
        }
 void OnPointerUp()
 {
     dragging = null;
 }