This repository has been archived by the owner on Oct 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jamie Brynes
authored
Feb 28, 2020
1 parent
b9cb368
commit 979cf09
Showing
62 changed files
with
169 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,26 +21,7 @@ cd "$(dirname "$0")/../" | |
|
||
echo "--- Bootstrapping :boot:" | ||
|
||
SHARED_CI_DIR="$(pwd)/.shared-ci" | ||
CLONE_URL="[email protected]:spatialos/gdk-for-unity-shared-ci.git" | ||
PINNED_SHARED_CI_BRANCH=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 1) | ||
PINNED_SHARED_CI_VERSION=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 2) | ||
|
||
# Clone the HEAD of the shared CI repo into ".shared-ci" | ||
|
||
if [[ -d "${SHARED_CI_DIR}" ]]; then | ||
rm -rf "${SHARED_CI_DIR}" | ||
fi | ||
|
||
mkdir "${SHARED_CI_DIR}" | ||
|
||
# Workaround for being unable to clone a specific commit with depth of 1. | ||
pushd "${SHARED_CI_DIR}" | ||
git init | ||
git remote add origin "${CLONE_URL}" | ||
git fetch --depth 20 origin "${PINNED_SHARED_CI_BRANCH}" | ||
git checkout "${PINNED_SHARED_CI_VERSION}" | ||
popd | ||
./ci/get-shared-ci.sh | ||
|
||
# Clone the GDK for Unity repository | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
set -e -u -o pipefail | ||
|
||
if [[ -n "${DEBUG-}" ]]; then | ||
set -x | ||
fi | ||
|
||
SHARED_CI_DIR="$(pwd)/.shared-ci" | ||
CLONE_URL="[email protected]:spatialos/gdk-for-unity-shared-ci.git" | ||
PINNED_SHARED_CI_BRANCH=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 1) | ||
PINNED_SHARED_CI_VERSION=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 2) | ||
|
||
if [[ -d "${SHARED_CI_DIR}" ]]; then | ||
rm -rf "${SHARED_CI_DIR}" | ||
fi | ||
|
||
mkdir "${SHARED_CI_DIR}" | ||
|
||
# Clone the HEAD of the shared CI repo into ".shared-ci" | ||
# Workaround for being unable to clone a specific commit with depth of 1. | ||
pushd "${SHARED_CI_DIR}" | ||
git init | ||
git remote add origin "${CLONE_URL}" | ||
git fetch --depth 20 origin "${PINNED_SHARED_CI_BRANCH}" | ||
git checkout "${PINNED_SHARED_CI_VERSION}" | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e -u -o pipefail | ||
|
||
if [[ -n "${DEBUG-}" ]]; then | ||
set -x | ||
fi | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
./ci/get-shared-ci.sh | ||
./.shared-ci/scripts/lint.sh ./workers/unity --check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
master a6c1fcd9562bf40160214acddc7e1a732a66faf4 | ||
master 7980ef5db74d8db47c0f683378a38d64accd2c0a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.CompilerServices; | ||
|
||
[assembly: InternalsVisibleTo("Improbable.Fps.Editor")] |
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Config/AdvancedEntityPipeline.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using Fps.Movement; | ||
using Fps.SchemaExtensions; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using UnityEngine; | ||
using UnityEngine; | ||
|
||
namespace Fps.Config | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Config/SettingsPublishers/GunDictionaryPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Fps.Guns; | ||
using Fps.Guns; | ||
using UnityEngine; | ||
|
||
namespace Fps.Config | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Config/SettingsPublishers/ISettingsPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Fps.Config | ||
namespace Fps.Config | ||
{ | ||
public interface ISettingsPublisher | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Config/SettingsPublishers/MapQualitySettingsPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Fps.WorldTiles; | ||
using Fps.WorldTiles; | ||
using UnityEngine; | ||
|
||
namespace Fps.Config | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Editor/Hud/Mobile/TouchscreenButtonAnimatorInspector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Editor/WorldTiles/MapQualitySettingsInspector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Editor/WorldTiles/MapTemplateInspector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using Fps.WorldTiles; | ||
using UnityEditor; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using UnityEngine; | ||
using UnityEngine; | ||
using UnityEngine.Rendering; | ||
|
||
namespace Fps.Guns | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Fps.Guns | ||
namespace Fps.Guns | ||
{ | ||
public interface IRecoil | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Health/Settings/PlayerHealthSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Fps.Health | ||
namespace Fps.Health | ||
{ | ||
public static class PlayerHealthSettings | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/HealthPickup/HealthPickupMovement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using Fps.Config; | ||
using Improbable.Gdk.Subscriptions; | ||
using UnityEngine; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Movement/Behaviours/GroundCheckingDriver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using UnityEngine; | ||
using UnityEngine; | ||
|
||
namespace Fps.Movement | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
workers/unity/Assets/Fps/Scripts/Movement/Behaviours/Motor Extensions/MotorSlopeExtension.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using UnityEngine; | ||
using UnityEngine; | ||
|
||
namespace Fps.Movement | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.