public void akaka() { sk.SetActive(true); Singleton.getInstance.quest = Quest.finish; popup.SetActive(false); Singleton.getInstance.stage = 999; ingame_cs.ChangeMap(Singleton.getInstance.stage); worldmap.SetActive(true); }
public void alive(int i) { if (i == 1) { Singleton.getInstance.stage = 999; ingame_cs.ChangeMap(Singleton.getInstance.stage); CharacaterDeathPoup_anim.SetTrigger("turnoff"); SKill1.SetActive(false); SKill2.SetActive(false); Grandfa.SetActive(true); npc.SetActive(true); StartCoroutine(en()); } }
public void MoveMaps(int i) { // if (i <= Singleton.getInstance.EnableStage+1) { // 불타는 산 // Debug.Log("f"); Ingame_sc.ChangeMap(i); Debug.Log("fd"); switch (i) { case 1: Singleton.getInstance.MyPosition = Inanis_map.BarrenOasisEntrance; Singleton.getInstance.myworld = World.Inanis; break; case 2: Singleton.getInstance.MyPosition = Inanis_map.DepletedField2; Singleton.getInstance.myworld = World.Inanis; break; case 3: Singleton.getInstance.MyPosition = Inanis_map.DepletedField1; Singleton.getInstance.myworld = World.Inanis; break; case 4: Singleton.getInstance.MyPosition = Inanis_map.RedDesertRoad3; Singleton.getInstance.myworld = World.Inanis; break; case 5: Singleton.getInstance.MyPosition = Inanis_map.RedDesertRoad2; Singleton.getInstance.myworld = World.Inanis; break; case 6: Singleton.getInstance.MyPosition = Inanis_map.RedDesertRoad1; Singleton.getInstance.myworld = World.Inanis; break; case 7: Singleton.getInstance.MyPosition = Inanis_map.OasisEntrance; Singleton.getInstance.myworld = World.Inanis; break; } popupbutton_cs.a(); } }
public void Yes(int i) { switch (i) { case 1: goworldtree_popup.SetActive(false); Singleton.getInstance.stage = 999; ingame_cs.ChangeMap(Singleton.getInstance.stage); break; case 2: Singleton.getInstance.myworld = World.Inanis; goinanis_popup.SetActive(false); Wolrd_map.SetActive(false); Inanis_worldmap.SetActive(true); pos.transform.localPosition = new Vector3(24, 0.2f, 0); break; } }