Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //if (pt == 0)
- //{
- // nv_1.SetActive(false);
- // nv_2.SetActive(false);
- // nv_0.SetActive(true);
- //}
- //else if (pt == 1)
- //{
- // nv_1.SetActive(true);
- // nv_2.SetActive(false);
- // nv_0.SetActive(false);
- //}
- //else if (pt == 2)
- //{
- // nv_1.SetActive(false);
- // nv_2.SetActive(true);
- // nv_0.SetActive(false);
- //}
- //if (pt == 0)
- //{
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
- // {
- // s.SetActive(true);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
- // {
- // s.SetActive(false);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
- // {
- // s.SetActive(false);
- // }
- //}
- //else if (pt == 1)
- //{
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
- // {
- // s.SetActive(true);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
- // {
- // s.SetActive(false);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
- // {
- // s.SetActive(false);
- // }
- //}
- //else if (pt == 2)
- //{
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
- // {
- // s.SetActive(true);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
- // {
- // s.SetActive(false);
- // }
- // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
- // {
- // s.SetActive(false);
- // }
- //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement