From 346bae668641d68c21bbcbdd447e4e7809123dd1 Mon Sep 17 00:00:00 2001 From: Martijn Gerkes Date: Thu, 30 Jan 2020 17:43:16 +0000 Subject: [PATCH] Add argument passthrough to init.sh (#245) * Add argument passthrough to init.sh * Add unsafe support to generated code * Inline * update pin for codegen fix --- ci/bootstrap.sh | 2 +- gdk.pinned | 2 +- init.sh | 2 +- .../Assets/Generated/Improbable.Gdk.Generated.asmdef | 10 +++++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ci/bootstrap.sh b/ci/bootstrap.sh index c0c1f8e1..fee014ee 100755 --- a/ci/bootstrap.sh +++ b/ci/bootstrap.sh @@ -76,7 +76,7 @@ if [ "$SKIP_GDK" = false ] ; then git fetch --depth 20 origin "${PINNED_BRANCH}" git checkout "${PINNED_VERSION}" echo "--- Hit init :right-facing_fist::red_button:" - ./init.sh + ./init.sh $@ popd fi diff --git a/gdk.pinned b/gdk.pinned index a27647dd..ec1f9b27 100644 --- a/gdk.pinned +++ b/gdk.pinned @@ -1 +1 @@ -develop 3a2a296551553f7d4a5e91a03ad3d4a8481edff5 \ No newline at end of file +develop 2b4d3a928bf5bc68904cc1e919a4c2f9e6a860c4 \ No newline at end of file diff --git a/init.sh b/init.sh index 40eedef6..001f1342 100755 --- a/init.sh +++ b/init.sh @@ -3,4 +3,4 @@ set -e -u -x -o pipefail cd "$(dirname "$0")" -./ci/bootstrap.sh +./ci/bootstrap.sh $@ diff --git a/workers/unity/Assets/Generated/Improbable.Gdk.Generated.asmdef b/workers/unity/Assets/Generated/Improbable.Gdk.Generated.asmdef index 120d96cb..90868aee 100644 --- a/workers/unity/Assets/Generated/Improbable.Gdk.Generated.asmdef +++ b/workers/unity/Assets/Generated/Improbable.Gdk.Generated.asmdef @@ -7,8 +7,12 @@ "Unity.Entities.Hybrid", "Improbable.Gdk.Core" ], - "optionalUnityReferences": [], "includePlatforms": [], "excludePlatforms": [], - "allowUnsafeCode": false -} + "allowUnsafeCode": true, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [] +} \ No newline at end of file