Skip to content

Commit

Permalink
time offset is now reset when DOTS is reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tbg10101 committed Aug 22, 2020
1 parent 47a4a50 commit 4206e80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Runtime/Scripts/Utils/DotsUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public static void Reset() {
ReferenceTypeUtil.Clear();

ManagedMonoBehaviour.DestroyAll();

TimeUtil.TimeOffset = 0;
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.10101software.dots.hybridsimulation",
"description": "A framework for using FixedUpdate in a simulation world which is linked to a GameObject-based presentation layer.",
"version": "0.6.3",
"version": "0.6.4",
"unity": "2020.1",
"displayName": "DOTS Hybrid Simulation Worlds",
"dependencies": {
Expand Down

0 comments on commit 4206e80

Please sign in to comment.