However, it doesn't conform with the information hiding scheme of putting everything into my "Lihinel" object that hides classes and scenes from the outside. I did use '$lihinelWarfareUnitBaseData' instead of just '$warfareUnitBaseData' to reach some middleground of preventing conflicts with other scripts.DataManager._databaseFiles.push({ name: '$lihinelWarfareUnitBaseData', src: 'warfare/Units.json' })
but that just leads to Lihinel.warfareUnitBaseData being undefined, I guess its because it treats the entire thing as a string and tries to add that as a variable to window, but I am not entirely sure.DataManager._databaseFiles.push({ name: 'Lihinel.warfareUnitBaseData', src: 'Units.json' })