WorldTrackerGlobalSettings.cs 678 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. namespace Imagine.WebAR{
  6. public class WorldTrackerGlobalSettings : ScriptableObject
  7. {
  8. [SerializeField] public List<string> geolocationScenes;
  9. private static WorldTrackerGlobalSettings _instance;
  10. public static WorldTrackerGlobalSettings Instance
  11. {
  12. get
  13. {
  14. if(_instance == null)
  15. {
  16. _instance = Resources.Load<WorldTrackerGlobalSettings>("WorldTrackerGlobalSettings");
  17. }
  18. return _instance;
  19. }
  20. }
  21. }
  22. }