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

using ARLocation;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using ARLocation;
using System;
public class UpdateGps : MonoBehaviour
{
private GameObject ga;
[SerializeField]
private LocationPath[] locationss;
private void OnDisable()
{
Array.Resize(ref locationss[0].Locations, 0);
}
public void onclasdsad()
{
this.gameObject.SetActive(true);
Array.Resize(ref locationss[0].Locations, 2);
locationss[0].Locations[0].Longitude = 22;
locationss[0].Locations[0].Latitude = 22;
locationss[0].Locations[1].Longitude = 22;
locationss[0].Locations[1].Latitude = 22;
}
public void Exitbutton()
{
this.gameObject.SetActive(false);
}
}