mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Remove unused option
This commit is contained in:
parent
d8c121695c
commit
c483047486
@ -156,19 +156,7 @@ public static void Clear()
|
||||
DeleteOutputOnClear = false;
|
||||
}
|
||||
|
||||
// build synchronously
|
||||
public static void Build()
|
||||
{
|
||||
BuildAssembly(true);
|
||||
}
|
||||
|
||||
// build asynchronously - this isn't currently used
|
||||
public static void BuildAsync()
|
||||
{
|
||||
BuildAssembly(false);
|
||||
}
|
||||
|
||||
static void BuildAssembly(bool wait)
|
||||
{
|
||||
AssemblyBuilder assemblyBuilder = new AssemblyBuilder(OutputDirectory + OutputFile, SourceFiles.ToArray());
|
||||
assemblyBuilder.additionalReferences = ReferenceAssemblies.ToArray();
|
||||
@ -206,13 +194,10 @@ static void BuildAssembly(bool wait)
|
||||
return;
|
||||
}
|
||||
|
||||
if (wait)
|
||||
while (assemblyBuilder.status != AssemblyBuilderStatus.Finished)
|
||||
{
|
||||
while (assemblyBuilder.status != AssemblyBuilderStatus.Finished)
|
||||
{
|
||||
System.Threading.Thread.Sleep(10);
|
||||
}
|
||||
}
|
||||
System.Threading.Thread.Sleep(10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user