BuildConfigMgr.cs 557 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. namespace XRTool.Util
  6. {
  7. public class BuildConfigMgr : Singleton<BuildConfigMgr>
  8. {
  9. private bool isInit = false;
  10. public BuildConfigMgr()
  11. {
  12. if (!BuildConfig.Instance)
  13. {
  14. BuildConfig.Instance = Resources.Load<BuildConfig>("BuildConfig");
  15. }
  16. isInit = BuildConfig.Instance;
  17. }
  18. public bool IsInit
  19. {
  20. get { return isInit; }
  21. }
  22. }
  23. }