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.
|
|
using UnityEngine;using UnityEngine.Serialization;
namespace ARLocation{ /// <summary>
/// Data used to construct a spline passing trough a set of geographical
/// locations.
/// </summary>
[CreateAssetMenu(fileName = "AR Location Data", menuName = "AR+GPS/Location")] public class LocationData : ScriptableObject { /// <summary>
/// The geographical locations that the path will interpolate.
/// </summary>
[FormerlySerializedAs("location")] [Tooltip("The geographical locations that the path will interpolate.")] public Location Location;
public static LocationData FromLocation(Location location) { var data = CreateInstance<LocationData>(); data.Location = location;
return data; }
public override string ToString() { return Location.ToString(); } }}
|