public static ISaveGameSourceProviderService Create(ISaveGameSourceProvider entity)
        {
            var result = new SaveGameSourceFile();

            result._saveGameBack = SaveGameBackUp.Create(entity);
            return(result);
        }
        protected override void OnEntityCreated(ISaveGameSourceProvider entity)
        {
            if (!entity.UseSocialCloudData)
            {
                //saveGameProvider.Service = SaveGameSourcePlayerPrefs.Create(entity);
                saveGameProvider = SaveGameSourceFile.Create(entity);
            }
            else
            {
                // TODO if cloud is enabled use one of the specified platforms
//
//#if UNITY_EDITOR || UNITY_STANDALONE
//            saveGameProvider.Service = SaveGameSourcePlayerPrefs.Create(entity);
//#elif UNITY_IOS
//            saveGameProvider.Service = SaveGameSourcePlayerPrefs.Create(entity);
//#elif UNITY_ANDROID
//            saveGameProvider.Service = SaveGameSourcePlayerPrefs.Create(entity);
//#endif
            }
        }