mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
bb8268dd06
commit
6d1a13fc27
@ -134,13 +134,13 @@ static HashSet<string> GetDependencyPaths(string assemblyPath)
|
||||
{
|
||||
Path.GetDirectoryName(assemblyPath)
|
||||
};
|
||||
foreach (UnityAssembly unityAsm in CompilationPipeline.GetAssemblies())
|
||||
foreach (Assembly assembly in CompilationPipeline.GetAssemblies())
|
||||
{
|
||||
if (unityAsm.outputPath == assemblyPath)
|
||||
if (assembly.outputPath == assemblyPath)
|
||||
{
|
||||
foreach (string unityAsmRef in unityAsm.compiledAssemblyReferences)
|
||||
foreach (string reference in assembly.compiledAssemblyReferences)
|
||||
{
|
||||
dependencyPaths.Add(Path.GetDirectoryName(unityAsmRef));
|
||||
dependencyPaths.Add(Path.GetDirectoryName(reference));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user