Advertisement
PanMichal

Untitled

Mar 25th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. //if (pt == 0)
  2. //{
  3. // nv_1.SetActive(false);
  4. // nv_2.SetActive(false);
  5. // nv_0.SetActive(true);
  6.  
  7. //}
  8. //else if (pt == 1)
  9. //{
  10. // nv_1.SetActive(true);
  11. // nv_2.SetActive(false);
  12. // nv_0.SetActive(false);
  13. //}
  14. //else if (pt == 2)
  15. //{
  16. // nv_1.SetActive(false);
  17. // nv_2.SetActive(true);
  18. // nv_0.SetActive(false);
  19. //}
  20.  
  21. //if (pt == 0)
  22. //{
  23.  
  24. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
  25. // {
  26. // s.SetActive(true);
  27. // }
  28. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
  29. // {
  30. // s.SetActive(false);
  31. // }
  32. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
  33. // {
  34. // s.SetActive(false);
  35. // }
  36.  
  37. //}
  38. //else if (pt == 1)
  39. //{
  40. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
  41. // {
  42. // s.SetActive(true);
  43. // }
  44. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
  45. // {
  46. // s.SetActive(false);
  47. // }
  48. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
  49. // {
  50. // s.SetActive(false);
  51. // }
  52. //}
  53. //else if (pt == 2)
  54. //{
  55. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("2 pt"))
  56. // {
  57. // s.SetActive(true);
  58. // }
  59. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("1 pt"))
  60. // {
  61. // s.SetActive(false);
  62. // }
  63. // foreach (GameObject s in GameObject.FindGameObjectsWithTag("parter"))
  64. // {
  65. // s.SetActive(false);
  66. // }
  67.  
  68. //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement