public void EnablePage()
    {
        if (currentPage)
        {
            currentPage.DisablePage();
        }

        currentPage = this;

        transform.SetAsLastSibling();

        if (animatedPage)
        {
            txtBGCGC.transform.SetParent(BookManager.instance.sysContainer.transform);
            txtBGCGC.GetComponent <RectTransform>().anchoredPosition3D = Vector3.zero;
        }


        if (startView)
        {
            Vector3    targetPosition = startView.transform.position;
            Quaternion targetRotation = startView.transform.rotation;
            float      targetSize     = startView.ViewSize;

            cameraManager.PanToPosition(BookManager.instance.bookCamera, targetPosition, targetRotation, targetSize, 0, delegate { });
        }

        cgc.EnableCanvasGroup(true);

        doFadeOnText = true;
    }
    public void ResetPage()
    {
        if (textCGC != null)
        {
            textCGC.EnableCanvasGroup(false);
            txtBGCGC.EnableCanvasGroup(false);
        }

        if (gameContainer != null)
        {
            LayoutGroup containerGroup;

            if (containerGroup = gameContainer.GetComponent <LayoutGroup>())
            {
                containerGroup.enabled = false;
                containerGroup.enabled = true;
            }
        }
    }