private void Awake() { // Set properties m_platform = CreatePlatformSpecificObject(); RateMyAppSettings _settings = NPSettings.Utility.RateMyApp; if (_settings.IsEnabled) { RateMyApp = m_platform.CreateRateMyApp(_settings); RateMyApp.RecordAppLaunch(); } }
private void Awake() { // Set properties m_platform = CreatePlatformSpecificObject(); if (NPSettings.Utility.RateMyApp.IsEnabled) { RateMyApp = new RateMyApp( _settings: NPSettings.Utility.RateMyApp, _controller: new RateStoreAppController() ); RateMyApp.RecordAppLaunch(); } }