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.
 
 
 

28 lines
764 B

using UnityEngine;
namespace ARLocation
{
/// <summary>
/// This static class loads the global configuration for the AR + GPS Location
/// plugin.
///
/// Any other global functionality of the plugin should be placed here as
/// well.
/// </summary>
static class ARLocation
{
public static readonly ARLocationConfig Config;
static ARLocation()
{
Config = Resources.Load<ARLocationConfig>("ARLocationConfig");
if (Config == null)
{
Debug.LogWarning("Resources/ARLocationConfig.asset not found; creating new configuration from defaults.");
Config = ScriptableObject.CreateInstance<ARLocationConfig>();
}
}
}
}