GE Lua Documentation

Press F to search!

convertLevelPrefabs

Definition


-- @/lua/ge/main.lua:143

function convertLevelPrefabs(levelPath)
  local filenames = FS:findFiles(levelPath, "*.prefab\t*.prefab.json", -1, true, false)
  log('I', 'convertLevelPrefabs', 'Converting the following files: '..dumps(filenames or {}))
  for _,file in ipairs(filenames) do
    convertPrefabtoJson(file)
  end
end

Callers