void Awake()
    {
        m_instance    = gameObject.GetComponent <DiamondToGoldUIViewManager>();
        m_myTransform = transform;
        FillFullNameData(m_myTransform);

        m_lblDiamondToGoldUIFromDiamondText2 = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIFromDiamondText2"]).GetComponent <UILabel>();
        m_lblDiamondToGoldUIToGoldText2      = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIToGoldText2"]).GetComponent <UILabel>();
        m_lblDiamondToGoldUILastTimesText2   = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUILastTimesText2"]).GetComponent <UILabel>();
        m_tranGODiamondToGoldChoose          = m_myTransform.Find(m_widgetToFullName["GODiamondToGoldChoose"]);
        m_lblDiamondToGoldUIUseAllText1      = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseAllText1"]).GetComponent <UILabel>();
        m_texDiamondToGoldUIBtnTurnBG        = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIBtnTurnBG"]).GetComponent <UITexture>();

        m_goDiamondToGoldUIUseOKCancel          = m_myTransform.Find(m_widgetToFullName["GODiamondToGoldUIUseOKCancel"]).gameObject;
        m_lblDiamondToGoldUIUseInfoDiamondText2 = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseInfoDiamondText2"]).GetComponent <UILabel>();
        m_lblDiamondToGoldUIUseInfoGoldText2    = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseInfoGoldText2"]).GetComponent <UILabel>();
        m_goDiamondToGoldUIUseTipEnable         = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseTipEnable"]).gameObject;
        m_goGODiamondToGoldUIUseTipEnable       = m_myTransform.Find(m_widgetToFullName["GODiamondToGoldUIUseTipEnable"]).gameObject;
        m_goDiamondToGoldUIUseTipEnableBGDown   = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseTipEnableBGDown"]).gameObject;

        m_goDiamondToGoldUIUseAllCheckDown = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseAllCheckDown"]).gameObject;
        m_goDiamondToGoldUIUseOneCheckDown = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIUseOneCheckDown"]).gameObject;

        m_lblDiamondToGoldUIDiamondNum = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIDiamondNum"]).GetComponentsInChildren <UILabel>(true)[0];
        m_lblDiamondToGoldUIGoldNum    = m_myTransform.Find(m_widgetToFullName["DiamondToGoldUIGoldNum"]).GetComponentsInChildren <UILabel>(true)[0];

        IsShowGoldMetallurgyTipDialog = SystemConfig.Instance.IsShowGoldMetallurgyTipDialog;
        Initialize();
    }
    void Awake()
    {
        m_instance = gameObject.GetComponent<DiamondToGoldUIViewManager>();
        m_myTransform = transform;
        FillFullNameData(m_myTransform);

        m_lblDiamondToGoldUIFromDiamondText2 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIFromDiamondText2"]).GetComponent<UILabel>();
        m_lblDiamondToGoldUIToGoldText2 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIToGoldText2"]).GetComponent<UILabel>();
        m_lblDiamondToGoldUILastTimesText2 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUILastTimesText2"]).GetComponent<UILabel>();
        m_tranGODiamondToGoldChoose = m_myTransform.FindChild(m_widgetToFullName["GODiamondToGoldChoose"]);
        m_lblDiamondToGoldUIUseAllText1 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseAllText1"]).GetComponent<UILabel>();
        m_texDiamondToGoldUIBtnTurnBG = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIBtnTurnBG"]).GetComponent<UITexture>();

        m_goDiamondToGoldUIUseOKCancel = m_myTransform.FindChild(m_widgetToFullName["GODiamondToGoldUIUseOKCancel"]).gameObject;
        m_lblDiamondToGoldUIUseInfoDiamondText2 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseInfoDiamondText2"]).GetComponent<UILabel>();
        m_lblDiamondToGoldUIUseInfoGoldText2 = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseInfoGoldText2"]).GetComponent<UILabel>();
        m_goDiamondToGoldUIUseTipEnable = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseTipEnable"]).gameObject;
        m_goGODiamondToGoldUIUseTipEnable = m_myTransform.FindChild(m_widgetToFullName["GODiamondToGoldUIUseTipEnable"]).gameObject;
        m_goDiamondToGoldUIUseTipEnableBGDown = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseTipEnableBGDown"]).gameObject;
               
        m_goDiamondToGoldUIUseAllCheckDown = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseAllCheckDown"]).gameObject;
        m_goDiamondToGoldUIUseOneCheckDown = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIUseOneCheckDown"]).gameObject;

        m_lblDiamondToGoldUIDiamondNum = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIDiamondNum"]).GetComponentsInChildren<UILabel>(true)[0];
        m_lblDiamondToGoldUIGoldNum = m_myTransform.FindChild(m_widgetToFullName["DiamondToGoldUIGoldNum"]).GetComponentsInChildren<UILabel>(true)[0];

        IsShowGoldMetallurgyTipDialog = SystemConfig.Instance.IsShowGoldMetallurgyTipDialog;
        Initialize();
    }