12345678910111213141516171819202122232425262728 |
- using UnityEngine;
- namespace ARLocation
- {
-
-
-
-
-
-
-
- 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>();
- }
- }
- }
- }
|