mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Simplify set initialization
This commit is contained in:
parent
34fa002099
commit
3d331b4c61
@ -163,8 +163,10 @@ static void OnCompilationFinished(string assemblyPath, CompilerMessage[] message
|
||||
static HashSet<string> GetDependecyPaths(string assemblyPath)
|
||||
{
|
||||
// build directory list for later asm/symbol resolving using CompilationPipeline refs
|
||||
HashSet<string> dependencyPaths = new HashSet<string>();
|
||||
dependencyPaths.Add(Path.GetDirectoryName(assemblyPath));
|
||||
HashSet<string> dependencyPaths = new HashSet<string>
|
||||
{
|
||||
Path.GetDirectoryName(assemblyPath)
|
||||
};
|
||||
foreach (UnityAssembly unityAsm in CompilationPipeline.GetAssemblies())
|
||||
{
|
||||
if (unityAsm.outputPath != assemblyPath)
|
||||
|
Loading…
Reference in New Issue
Block a user