From 43b3f32107fd5809131eafb28af025d20e672765 Mon Sep 17 00:00:00 2001 From: Jessica Falk Date: Tue, 11 Jun 2019 14:35:10 +0100 Subject: [PATCH] updating code docs and adding two new Project settings files --- .../Components/WorkerEntityComponents.cs | 8 -------- .../ProjectSettings/BurstAotSettings_Android.json | 11 +++++++++++ .../BurstAotSettings_StandaloneWindows.json | 11 +++++++++++ 3 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_Android.json create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json diff --git a/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs b/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs index 57f1e58bf5..3a75ae724f 100644 --- a/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs +++ b/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs @@ -13,10 +13,6 @@ public struct WorkerEntityTag : IComponentData /// /// ECS Component added to the worker entity immediately after establishing a connection to a SpatialOS deployment. /// - /// - /// This is a reactive component and the will - /// remove it at the end of the frame. - /// [RemoveAtEndOfTick] public struct OnConnected : IComponentData { @@ -25,10 +21,6 @@ public struct OnConnected : IComponentData /// /// ECS Component added to the worker entity immediately after disconnecting from SpatialOS /// - /// - /// This is a reactive component and the will - /// remove it at the end of the frame. - /// [RemoveAtEndOfTick] public struct OnDisconnected : ISharedComponentData, IEquatable { diff --git a/workers/unity/ProjectSettings/BurstAotSettings_Android.json b/workers/unity/ProjectSettings/BurstAotSettings_Android.json new file mode 100644 index 0000000000..ec0089d85d --- /dev/null +++ b/workers/unity/ProjectSettings/BurstAotSettings_Android.json @@ -0,0 +1,11 @@ +{ + "MonoBehaviour": { + "m_Enabled": true, + "m_EditorHideFlags": 0, + "m_Name": "", + "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings", + "DisableOptimisations": false, + "DisableSafetyChecks": true, + "DisableBurstCompilation": false + } +} \ No newline at end of file diff --git a/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json new file mode 100644 index 0000000000..ec0089d85d --- /dev/null +++ b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json @@ -0,0 +1,11 @@ +{ + "MonoBehaviour": { + "m_Enabled": true, + "m_EditorHideFlags": 0, + "m_Name": "", + "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings", + "DisableOptimisations": false, + "DisableSafetyChecks": true, + "DisableBurstCompilation": false + } +} \ No newline at end of file