SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
619 B

4 years ago
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Building_Con : MonoBehaviour
  5. {
  6. public GameObject[] roadMaps;
  7. public GameObject[] panels;
  8. public GameObject onMap;
  9. public void Click_StartButton()
  10. {
  11. onMap.SetActive(true);
  12. panels[0].SetActive(false);
  13. panels[1].SetActive(true);
  14. }
  15. public void Click_RightButton()
  16. {
  17. roadMaps[1].SetActive(true);
  18. roadMaps[0].SetActive(false);
  19. }
  20. public void Click_LeftButton()
  21. {
  22. roadMaps[1].SetActive(false);
  23. roadMaps[0].SetActive(true);
  24. }
  25. }