Example #1
0
        private void Awake()
        {
            // Set properties
            m_platform = CreatePlatformSpecificObject();

            RateMyAppSettings _settings = NPSettings.Utility.RateMyApp;

            if (_settings.IsEnabled)
            {
                RateMyApp = m_platform.CreateRateMyApp(_settings);
                RateMyApp.RecordAppLaunch();
            }
        }
Example #2
0
        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();
            }
        }