private void InitRef() { _formulaName = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_dialog.ManuContent, "Name")); _timeText = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_dialog.ManuContent, "Time")); _formulaContentCmpt = UIUtility.SafeGetComponent <FormulaContentCmpt>(UIUtility.FindTransfrom(m_dialog.ManuContent, "FormulaContent")); _desc = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_dialog.ManuContent, "Desc")); _loopList = UIUtility.SafeGetComponent <LoopList>(m_dialog.ScrollViewTrans); typeWriter = UIUtility.SafeGetComponent <TypeWriterEffect>(_desc.transform); }
void InitTransformRef() { ProgressRingImage = UIUtility.SafeGetComponent <Image>(UIUtility.FindTransfrom(m_page.ProgressTrans, "Ring")); ProgressValueText = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_page.ProgressTrans, "Value")); EXPValueText = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_page.EXPContent, "Value")); EXPValuePercentText = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_page.EXPContent, "Percent")); LVText = UIUtility.SafeGetComponent <Text>(UIUtility.FindTransfrom(m_page.BlockLevelInfo, "Value")); _formulaContentCpmt = UIUtility.SafeGetComponent <FormulaContentCmpt>(m_page.ManuContent); DistrictPanel = UIUtility.FindTransfrom(m_page.DistrictPanel, "Content"); }