예제 #1
0
        public IEnumerator ShowRemoveJewelEffect2()
        {
            RemoveJewelEffect2.SetActive(true);
            yield return(new WaitForSeconds(2.5f));

            RemoveJewelEffect2.SetActive(false);
            JewelBesetManager.GetInstance().ChangeSubUistate(JewelState.JewelBeset);
            JewelBesetManager.GetInstance().UPdateContain(JewelState.JewelBeset, CurrentItemfielInfo);
        }
예제 #2
0
 void Awake()
 {
     RegisterEventHandler();
     FirstHolePos     = CreatObjectToNGUI.InstantiateObj(JewelBeset_Hole_prefab, FirstHolePoint).GetComponent <JewelBeset_Hole>();
     SecondHolePos    = CreatObjectToNGUI.InstantiateObj(JewelBeset_Hole_prefab, SecondHolePoint).GetComponent <JewelBeset_Hole>();
     jewelAttriture   = CreatObjectToNGUI.InstantiateObj(jewelAttriture_prefab, jewelAttriturePoint).GetComponent <JewelAttriture>();
     suitAttriture    = CreatObjectToNGUI.InstantiateObj(jewelAttriture_prefab, suitAttriturePoint).GetComponent <JewelAttriture>();
     SuitActiv_Effect = CreatObjectToNGUI.InstantiateObj(SuitActiv_Effect_prefab, SuitActiv_Effect_point) as GameObject;
     SuitActiv_Effect.SetActive(false);
     RemoveJewelEffect1 = CreatObjectToNGUI.InstantiateObj(RemoveJewelEffect1_profab, RemoveJewelEffect1_Point) as GameObject;
     RemoveJewelEffect2 = CreatObjectToNGUI.InstantiateObj(RemoveJewelEffect2_profab, RemoveJewelEffect2_point) as GameObject;
     RemoveJewelEffect1.SetActive(false);
     RemoveJewelEffect2.SetActive(false);
     NoneAttriture.GetComponentInChildren <UILabel>().SetText(LanguageTextManager.GetString("IDS_I9_16"));
     //Init(null);
     TaskGuideBtnRegister();
 }