internal static string GetSceneWritePath(EntityScenesPaths.PathType type, string subsectionName, AssetImportContext ctx) { var prefix = string.IsNullOrEmpty(subsectionName) ? "" : subsectionName + "."; var path = ctx.GetResultPath(prefix + EntityScenesPaths.GetExtension(type)); return(path); }
internal static string GetSceneWritePath(EntityScenesPaths.PathType type, string subsectionName, Hash128 sceneGUID, string outputPath) { var prefix = string.IsNullOrEmpty(subsectionName) ? "" : subsectionName + "."; return(Path.Combine(outputPath, sceneGUID + "." + prefix + EntityScenesPaths.GetExtension(type))); }