mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Simplify obj initialization
This commit is contained in:
parent
88ece20e68
commit
0132697513
@ -155,8 +155,10 @@ public static void Clear()
|
||||
|
||||
public static void Build()
|
||||
{
|
||||
AssemblyBuilder assemblyBuilder = new AssemblyBuilder(Path.Combine(OutputDirectory, OutputFile), SourceFiles.ToArray());
|
||||
assemblyBuilder.additionalReferences = ReferenceAssemblies.ToArray();
|
||||
AssemblyBuilder assemblyBuilder = new AssemblyBuilder(Path.Combine(OutputDirectory, OutputFile), SourceFiles.ToArray())
|
||||
{
|
||||
additionalReferences = ReferenceAssemblies.ToArray()
|
||||
};
|
||||
if (AllowUnsafe)
|
||||
{
|
||||
assemblyBuilder.compilerOptions.AllowUnsafeCode = true;
|
||||
|
Loading…
Reference in New Issue
Block a user