void Awake() { CurrentAtt = CreatObjectToNGUI.InstantiateObj(AttContent_prefab, CurrentAttPoint).GetComponent <AttributeContent>(); NextrAtt = CreatObjectToNGUI.InstantiateObj(AttContent_prefab, NextAttPoint).GetComponent <AttributeContent>(); Effect_Show = CreatObjectToNGUI.InstantiateObj(Effect_Prefab, Effect_point); SwallowEff2 = CreatObjectToNGUI.InstantiateObj(SwallowEff2_profab, SwallowEff2_piont); //UILabel lable = NoneJewel.GetComponentInChildren<UILabel>(); NoneJewel.SetText(LanguageTextManager.GetString("IDS_I9_16")); NoneAtt.SetText(LanguageTextManager.GetString("IDS_I9_30")); SwallowEff2.SetActive(false); }
void Awake() { AttributeContent = CreatObjectToNGUI.InstantiateObj(AttributeContentProfab, ContentPoint).GetComponent <AttributeContent>(); }