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.

36 lines
814 B

4 years ago
  1. using ARLocation;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. using UnityEngine.UI;
  6. using ARLocation;
  7. using System;
  8. public class UpdateGps : MonoBehaviour
  9. {
  10. private GameObject ga;
  11. [SerializeField]
  12. private LocationPath[] locationss;
  13. private void OnDisable()
  14. {
  15. Array.Resize(ref locationss[0].Locations, 0);
  16. }
  17. public void onclasdsad()
  18. {
  19. this.gameObject.SetActive(true);
  20. Array.Resize(ref locationss[0].Locations, 2);
  21. locationss[0].Locations[0].Longitude = 22;
  22. locationss[0].Locations[0].Latitude = 22;
  23. locationss[0].Locations[1].Longitude = 22;
  24. locationss[0].Locations[1].Latitude = 22;
  25. }
  26. public void Exitbutton()
  27. {
  28. this.gameObject.SetActive(false);
  29. }
  30. }