GoogleConfigService.cs 613 B

1234567891011121314151617181920212223242526
  1. namespace UnityEditor.Purchasing
  2. {
  3. internal class GoogleConfigService
  4. {
  5. GoogleConfigurationData m_GoogleConfigData;
  6. static GoogleConfigService m_Instance;
  7. internal GoogleConfigurationData GoogleConfigData => m_GoogleConfigData;
  8. GoogleConfigService()
  9. {
  10. m_GoogleConfigData = new GoogleConfigurationData();
  11. }
  12. internal static GoogleConfigService Instance()
  13. {
  14. if (m_Instance == null)
  15. {
  16. m_Instance = new GoogleConfigService();
  17. }
  18. return m_Instance;
  19. }
  20. }
  21. }