Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Commit

Permalink
Upgrade to Unity SDK 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oblm committed Jul 6, 2018
1 parent 23129a1 commit f09b08e
Show file tree
Hide file tree
Showing 20 changed files with 408 additions and 383 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Improbable.Unity.Core
{
class ComponentCommander : IComponentCommander
{
private const uint DefaultCommandTimeoutMs = 1000;
public const uint DefaultCommandTimeoutMs = 1000;

private readonly HashSet<Type> commandResponseThunksRegistered;
private readonly Dictionary<uint, ICommandCallbackWrapper> requestIdToCallback;
Expand Down Expand Up @@ -94,7 +94,7 @@ private Option<uint> SendGenericCommand<TResponse>(CommandCallback<TResponse> ca
return new Option<uint>();
}

var timeoutMs = timeout.HasValue ? (uint) timeout.Value.Milliseconds : DefaultCommandTimeoutMs;
var timeoutMs = timeout.HasValue ? (uint) timeout.Value.TotalMilliseconds : DefaultCommandTimeoutMs;
var requestId = sendRequestWithTimeoutMs(timeoutMs);
requestIdToCallback.Add(requestId, callbackWrapper);
return requestId;
Expand Down
Binary file modified workers/unity/Improbable/bin/UnityCodeGenerator.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand All @@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
"--version=13.0.0"
"--version=13.1.0"
]
},
{
Expand Down

0 comments on commit f09b08e

Please sign in to comment.