private void CreateNotificationSettings()
        {
            NotificationSettings asset = CreateInstance <NotificationSettings>();

            if (!AssetDatabase.IsValidFolder("Assets/GleyPlugins/Notifications/Resources"))
            {
                AssetDatabase.CreateFolder("Assets/GleyPlugins/Notifications", "Resources");
                AssetDatabase.Refresh();
            }

            AssetDatabase.CreateAsset(asset, "Assets/GleyPlugins/Notifications/Resources/NotificationSettingsData.asset");
            AssetDatabase.SaveAssets();
            AssetDatabase.Refresh();
        }
        private void OnEnable()
        {
            notificationSettongs = Resources.Load <NotificationSettings>("NotificationSettingsData");
            if (notificationSettongs == null)
            {
                CreateNotificationSettings();
                notificationSettongs = Resources.Load <NotificationSettings>("NotificationSettingsData");
            }

            useForAndroid = notificationSettongs.useForAndroid;
            useForIos     = notificationSettongs.useForIos;
            usePlaymaker  = notificationSettongs.usePlaymaker;
            useBolt       = notificationSettongs.useBolt;
            useGameflow   = notificationSettongs.useGameflow;
        }