private static void MemoriaExport() { if (Interlocked.CompareExchange(ref _initialized, 1, 0) == 0) { ResourceExporter.ExportSafe(); ResourceImporter.Initialize(); } }