private void TryUpringAddGUID(Upbring upbring, string file, Upset package, InstallSpecType type, string destination) { if (file.EndsWith(".meta")) { return; } string metaPath = Path.Combine(destination, file + ".meta"); if (!File.Exists(metaPath)) { upbring.AddLocation(package, type, Path.Combine(destination, file)); return; } MetaFile meta = MetaFile.FromFile(metaPath); upbring.AddGUID(package, type, meta.Guid); }