diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1415008..1018f4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,10 +8,6 @@ on: - 'v*' pull_request: workflow_dispatch: - inputs: - version: - description: 'UPM version to build (without leading v), e.g. 3.0.0. Only used by the upm job; the main build runs on the current ref.' - required: false permissions: contents: read @@ -74,124 +70,3 @@ jobs: --api-key "${{ steps.nuget-login.outputs.NUGET_API_KEY }}" \ --source https://api.nuget.org/v3/index.json \ --skip-duplicate - - upm: - # Assembles the Unity Package Manager distribution from unity-template/ + - # the freshly-built DLL and publishes it to the dedicated - # `enjin/platform-unity-sdk` repo: the package tree is committed to that - # repo's `master` branch (latest, always browsable) and pinned with a - # `v` git tag. Users reference either in their Unity Package - # Manager git URL: - # https://github.com/enjin/platform-unity-sdk.git (latest) - # https://github.com/enjin/platform-unity-sdk.git#v3.0.0 (pinned) - # The tarball is also uploaded as a workflow artifact for inspection. This - # job does not touch this repo's GitHub Release — that is created/published - # manually so it stays compatible with immutable releases. - needs: build - # Run on v* tag pushes, or on manual dispatches that supply a version. A - # workflow_dispatch with an empty version input is treated as "main build - # only" and skips the UPM job rather than hard-failing. - if: | - startsWith(github.ref, 'refs/tags/v') - || (github.event_name == 'workflow_dispatch' && github.event.inputs.version != '') - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Determine version - id: version - run: | - if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then - VERSION="${{ github.event.inputs.version }}" - if [[ -z "${VERSION}" ]]; then - echo "::error::workflow_dispatch requires the 'version' input" - exit 1 - fi - TAG="v${VERSION}" - elif [[ "${GITHUB_REF}" == refs/tags/v* ]]; then - # strip leading 'v' from refs/tags/v3.0.0 - VERSION="${GITHUB_REF_NAME#v}" - TAG="v${VERSION}" - else - echo "::error::upm job triggered on an unsupported ref ${GITHUB_REF}" - exit 1 - fi - echo "version=${VERSION}" >> "$GITHUB_OUTPUT" - echo "tag=${TAG}" >> "$GITHUB_OUTPUT" - echo "Building UPM package for version ${VERSION} (tag ${TAG})" - - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - - - name: Cache NuGet Packages - uses: actions/cache@v4 - with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} - restore-keys: | - ${{ runner.os }}-nuget- - - - name: Build SDK (Release) - run: dotnet build ./src/Enjin.Platform.Sdk/Enjin.Platform.Sdk/Enjin.Platform.Sdk.csproj --configuration Release - - - name: Assemble UPM package - run: ./scripts/assemble-upm.sh ${{ steps.version.outputs.version }} - - - name: Setup SSH - # Loads the deploy-key for enjin/platform-unity-sdk so the publish step - # below can push over SSH. webfactory/ssh-agent also adds github.com to - # known_hosts. The matching public key must be registered as a - # write-enabled deploy key on enjin/platform-unity-sdk. - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.UNITY_SDK_DEPLOY_KEY }} - - - name: Publish package to platform-unity-sdk - # Commits the assembled upm-staging/ tree to the dedicated repo's master - # branch (latest) and pins it with a v tag. End users reference - # either in their Unity Package Manager git URL: - # https://github.com/enjin/platform-unity-sdk.git (latest) - # https://github.com/enjin/platform-unity-sdk.git#v3.0.0 (pinned) - # The package lives at the repo root, so no ?path= suffix is needed. - run: | - set -euo pipefail - VERSION="${{ steps.version.outputs.version }}" - TAG="${{ steps.version.outputs.tag }}" - BRANCH="master" - - WORK="$(mktemp -d)" - git clone --depth 1 git@github.com:enjin/platform-unity-sdk.git "${WORK}" - ( - cd "${WORK}" - git checkout -B "${BRANCH}" - # Replace tracked contents with the freshly assembled package. - git rm -rqf . >/dev/null 2>&1 || true - cp -R "${GITHUB_WORKSPACE}/upm-staging/." . - git add -A - # Skip the commit when the assembled package is identical to the - # current branch contents (e.g. re-running a release tag), so the - # job stays idempotent instead of failing on "nothing to commit". - if git diff --cached --quiet; then - echo "UPM package contents unchanged; skipping commit" - else - git -c user.name="github-actions[bot]" \ - -c user.email="41898282+github-actions[bot]@users.noreply.github.com" \ - commit -m "UPM package v${VERSION}" - fi - git tag -f "${TAG}" - git push origin "HEAD:${BRANCH}" - git push -f origin "refs/tags/${TAG}" - ) - rm -rf "${WORK}" - echo "Published v${VERSION} to platform-unity-sdk (${BRANCH} + tag ${TAG})" - - - name: Upload tarball as workflow artifact - # Always upload (including workflow_dispatch runs) so manual builds are - # downloadable for inspection without needing a release. - uses: actions/upload-artifact@v4 - with: - name: EnjinPlatformSdk-v${{ steps.version.outputs.version }}-upm - path: EnjinPlatformSdk-v${{ steps.version.outputs.version }}-upm.tar.gz diff --git a/.gitignore b/.gitignore index 08b868c..50c53a7 100644 --- a/.gitignore +++ b/.gitignore @@ -439,11 +439,3 @@ FodyWeavers.xsd # Smoke runner secrets (see tools/SdkSmoke/README.md) tools/SdkSmoke/.env -# Unity package assembly output (regenerated by scripts/assemble-upm.sh / unity.yml) -upm-staging/ -EnjinPlatformSdk-v*-upm.tar.gz - -# Re-include the hand-crafted Unity .meta files in unity-template/ -# (overrides the global *.meta ignore from the VisualStudio template above) -!unity-template/**/*.meta - diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c0cbc5..3ba3c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,22 +21,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 fields. - Smoke tests for `PlatformClient` covering success, error, and bearer-token paths against a WireMock server. -- Unity Package Manager (UPM) distribution: every `v*` tag push assembles a UPM package - (manifest, precompiled `Enjin.Platform.Sdk.dll`, XML docs, IL2CPP `link.xml`, third-party - notices) from `unity-template/` via `scripts/assemble-upm.sh` and the - `.github/workflows/unity.yml` workflow. The package is published as a parallel - `upm/v` git tag (installable as - `https://github.com/enjin/platform-csharp-sdk.git#upm/v`) and attached as a - tarball to the GitHub Release. Declares `com.unity.nuget.newtonsoft-json` 3.2.1 as its - only dependency; requires Unity 2021.3 LTS with the .NET Standard 2.1 API compatibility - level. ### Changed - **Breaking:** SDK now targets the Enjin Platform v3 GraphQL API. The v2 schema and all hand-written v2 operation/model classes have been removed. - **Breaking:** Target framework lowered from `.NET Standard 2.0` to `.NET Standard 2.1` so the SDK - can be consumed from Unity 2021.2+ and Godot 4+. + can be consumed from Godot 4+. - **Breaking:** JSON serialization moved from `System.Text.Json` to `Newtonsoft.Json` (13.0.3) to match the generator's runtime and engine ecosystem expectations. - **Breaking:** `PlatformHandler` now attaches `Authorization: Bearer ` (previously the scheme diff --git a/README.md b/README.md index db51441..ba33e0c 100644 --- a/README.md +++ b/README.md @@ -17,53 +17,13 @@ Starting with version 3.0.0 the SDK ships as a single package targeting the v3 P sub-packages (`Enjin.Platform.Sdk.Beam`, `Enjin.Platform.Sdk.FuelTanks`, `Enjin.Platform.Sdk.Marketplace`) have been discontinued — all functionality now lives in `Enjin.Platform.Sdk`. -Unity developers can install the SDK directly from the Unity Package Manager — see -[Install in Unity](#install-in-unity) below. - ## Compatibility This SDK targets **.NET Standard 2.1**, which is compatible with: * .NET 5.0+ -* Unity 2021.3 LTS or newer (using the .NET Standard 2.1 API compatibility level) * Godot 4.0 or newer (using .NET 6+ / .NET Standard 2.1) -Godot users should install via NuGet (`dotnet add package Enjin.Platform.Sdk`); the UPM -distribution described below is Unity-specific. - -## Install in Unity - -The SDK is published as a Unity Package Manager (UPM) package on every tagged release, in the -dedicated [`enjin/platform-unity-sdk`](https://github.com/enjin/platform-unity-sdk) distribution -repo. The package contains the precompiled `Enjin.Platform.Sdk.dll`, XML documentation, and an -IL2CPP `link.xml` to keep the SDK's types from being stripped on AOT targets. - -1. Open your Unity project (**2021.3 LTS or newer**). -2. Set **Edit ▸ Project Settings ▸ Player ▸ Other Settings ▸ Api Compatibility Level** to **.NET Standard 2.1**. -3. Open **Window ▸ Package Manager**. -4. Click **+** ▸ **Add package from git URL…** and paste: - - ``` - https://github.com/enjin/platform-unity-sdk.git - ``` - - This tracks the latest published package. To pin a specific version, append a `#v` - suffix (e.g. `…platform-unity-sdk.git#v3.0.2`). Available versions are listed on the - [tags](https://github.com/enjin/platform-unity-sdk/tags) page; each release is pinned with a - matching `v` tag. - -The Package Manager will automatically resolve the -[`com.unity.nuget.newtonsoft-json`](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.2/manual/index.html) -dependency, which is the only third-party library required at runtime. - -### IL2CPP notes - -The shipped `link.xml` preserves the entire `Enjin.Platform.Sdk` assembly from the IL2CPP -managed code stripper. This is necessary because the SDK uses Newtonsoft.Json reflection -to (de)serialize the GraphQL response model. If you ship to mobile, console, or WebGL -and need to shrink build size, you can replace the bundled `Runtime/link.xml` with a -narrower ruleset, but verify against your real responses first. - ## Quick start ```csharp diff --git a/scripts/assemble-upm.sh b/scripts/assemble-upm.sh deleted file mode 100755 index cb60708..0000000 --- a/scripts/assemble-upm.sh +++ /dev/null @@ -1,124 +0,0 @@ -#!/usr/bin/env bash -# -# assemble-upm.sh -# -# Assembles the Unity Package Manager (UPM) distribution of the SDK from: -# - the contents of unity-template/ -# - the compiled DLL + XML docs in src/.../bin/Release/netstandard2.1/ -# - the repo-root README.md, CHANGELOG.md, LICENSE -# -# Output: an `upm-staging/` directory containing a valid UPM package, plus an -# `EnjinPlatformSdk-v-upm.tar.gz` tarball. -# -# Usage: -# ./scripts/assemble-upm.sh -# -# Example: -# ./scripts/assemble-upm.sh 3.0.0 -# -# Requires the SDK to have already been built in Release configuration: -# dotnet build src/Enjin.Platform.Sdk/Enjin.Platform.Sdk/Enjin.Platform.Sdk.csproj -c Release -# - -set -euo pipefail - -if [[ $# -ne 1 ]]; then - echo "usage: $0 " >&2 - echo " e.g. $0 3.0.0" >&2 - exit 2 -fi - -VERSION="$1" -REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -TEMPLATE_DIR="${REPO_ROOT}/unity-template" -BUILD_OUT="${REPO_ROOT}/src/Enjin.Platform.Sdk/Enjin.Platform.Sdk/bin/Release/netstandard2.1" -STAGING="${REPO_ROOT}/upm-staging" -TARBALL="${REPO_ROOT}/EnjinPlatformSdk-v${VERSION}-upm.tar.gz" - -# --- sanity checks --------------------------------------------------------- - -if [[ ! -d "${TEMPLATE_DIR}" ]]; then - echo "error: unity-template/ not found at ${TEMPLATE_DIR}" >&2 - exit 1 -fi - -if [[ ! -f "${BUILD_OUT}/Enjin.Platform.Sdk.dll" ]]; then - echo "error: Enjin.Platform.Sdk.dll not found at ${BUILD_OUT}" >&2 - echo " run 'dotnet build -c Release' first" >&2 - exit 1 -fi - -if [[ ! -f "${BUILD_OUT}/Enjin.Platform.Sdk.xml" ]]; then - echo "warning: Enjin.Platform.Sdk.xml not found; users will have no IntelliSense docs" >&2 -fi - -# --- clean + copy template ------------------------------------------------- - -rm -rf "${STAGING}" "${TARBALL}" -mkdir -p "${STAGING}/Runtime" - -# Copy meta files + link.xml verbatim from the template. -cp "${TEMPLATE_DIR}/Runtime.meta" "${STAGING}/Runtime.meta" -cp "${TEMPLATE_DIR}/Runtime/link.xml" "${STAGING}/Runtime/link.xml" -cp "${TEMPLATE_DIR}/Runtime/link.xml.meta" "${STAGING}/Runtime/link.xml.meta" -cp "${TEMPLATE_DIR}/Runtime/Enjin.Platform.Sdk.dll.meta" "${STAGING}/Runtime/Enjin.Platform.Sdk.dll.meta" -cp "${TEMPLATE_DIR}/Runtime/Enjin.Platform.Sdk.xml.meta" "${STAGING}/Runtime/Enjin.Platform.Sdk.xml.meta" -cp "${TEMPLATE_DIR}/Third Party Notices.md" "${STAGING}/Third Party Notices.md" - -# Meta files for the root-level docs + package.json. Unity emits a warning -# ("has no meta file, but it's in an immutable folder") for every package -# asset without a meta sidecar, so we ship stable, hand-authored metas with -# the package to keep the importer quiet. -cp "${TEMPLATE_DIR}/README.md.meta" "${STAGING}/README.md.meta" -cp "${TEMPLATE_DIR}/CHANGELOG.md.meta" "${STAGING}/CHANGELOG.md.meta" -cp "${TEMPLATE_DIR}/LICENSE.md.meta" "${STAGING}/LICENSE.md.meta" -cp "${TEMPLATE_DIR}/Third Party Notices.md.meta" "${STAGING}/Third Party Notices.md.meta" -cp "${TEMPLATE_DIR}/package.json.meta" "${STAGING}/package.json.meta" - -# --- substitute version into package.json ---------------------------------- - -sed "s/\${VERSION}/${VERSION}/g" "${TEMPLATE_DIR}/package.json.tmpl" > "${STAGING}/package.json" - -# --- copy build outputs ---------------------------------------------------- - -cp "${BUILD_OUT}/Enjin.Platform.Sdk.dll" "${STAGING}/Runtime/Enjin.Platform.Sdk.dll" - -if [[ -f "${BUILD_OUT}/Enjin.Platform.Sdk.xml" ]]; then - cp "${BUILD_OUT}/Enjin.Platform.Sdk.xml" "${STAGING}/Runtime/Enjin.Platform.Sdk.xml" -fi - -# --- copy repo-root metadata ---------------------------------------------- - -cp "${REPO_ROOT}/README.md" "${STAGING}/README.md" -cp "${REPO_ROOT}/CHANGELOG.md" "${STAGING}/CHANGELOG.md" - -# UPM convention is LICENSE.md (with .md suffix). Tolerate either upstream name. -if [[ -f "${REPO_ROOT}/LICENSE.md" ]]; then - cp "${REPO_ROOT}/LICENSE.md" "${STAGING}/LICENSE.md" -elif [[ -f "${REPO_ROOT}/LICENSE" ]]; then - cp "${REPO_ROOT}/LICENSE" "${STAGING}/LICENSE.md" -else - echo "warning: no LICENSE file found at repo root" >&2 -fi - -# --- tarball (npm-style: top-level 'package/' directory) ------------------- -# -# OpenUPM and `npm pack` both expect the tarball to contain a single top-level -# directory named 'package/'. We mimic that layout so the tarball is consumable -# by either toolchain. - -TAR_TMP="$(mktemp -d)" -mkdir -p "${TAR_TMP}/package" -cp -R "${STAGING}/." "${TAR_TMP}/package/" -tar -czf "${TARBALL}" -C "${TAR_TMP}" package -rm -rf "${TAR_TMP}" - -# --- report ---------------------------------------------------------------- - -echo "" -echo "Assembled UPM package for version ${VERSION}" -echo " staging: ${STAGING}" -echo " tarball: ${TARBALL}" -echo "" -echo "Tree:" -( cd "${STAGING}" && find . -type f | sort | sed 's|^\./| |' ) diff --git a/unity-template/CHANGELOG.md.meta b/unity-template/CHANGELOG.md.meta deleted file mode 100644 index 75c6263..0000000 --- a/unity-template/CHANGELOG.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4cd641bc6f1b43498e59313eb7c7b896 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/LICENSE.md.meta b/unity-template/LICENSE.md.meta deleted file mode 100644 index 5caba7d..0000000 --- a/unity-template/LICENSE.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f51d62a63a91498cbba373db19d388c4 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/README.md b/unity-template/README.md deleted file mode 100644 index c247f20..0000000 --- a/unity-template/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# Enjin Platform SDK (Unity package template) - -This directory is the **template** used by `.github/workflows/unity.yml` to -assemble the Unity Package Manager (UPM) distribution of the SDK on every -`v*` tag push. It is not itself a valid UPM package — `package.json` is -templated (`${VERSION}` placeholder) and the compiled DLL is added by CI. - -The assembled package is published to a parallel `upm/` git tag and -attached as a tarball to the GitHub release. - -## Layout - -``` -unity-template/ -├── package.json.tmpl # UPM manifest; CI substitutes ${VERSION} -├── Third Party Notices.md # Newtonsoft.Json acknowledgement -├── Runtime.meta # stable .meta for the Runtime folder -└── Runtime/ - ├── link.xml # IL2CPP preservation rules - ├── link.xml.meta - ├── Enjin.Platform.Sdk.dll.meta # stable .meta for the DLL (assigned by CI build) - └── Enjin.Platform.Sdk.xml.meta # stable .meta for the XML docs -``` - -CI additionally copies in at assemble time: - -- `Runtime/Enjin.Platform.Sdk.dll` (from `bin/Release/netstandard2.1/`) -- `Runtime/Enjin.Platform.Sdk.xml` (from `bin/Release/netstandard2.1/`) -- `README.md`, `CHANGELOG.md`, `LICENSE.md` (copied from repo root) -- `package.json` (templated from `package.json.tmpl`) - -## Stable GUIDs - -The `.meta` files commit fixed GUIDs so that user scripts referencing the DLL -by GUID remain valid across SDK versions. **Do not edit the `guid:` lines.** - -## Install (end users) - -``` -# Unity ▸ Window ▸ Package Manager ▸ + ▸ Add package from git URL -https://github.com/enjin/platform-csharp-sdk.git#upm/v3.0.0 -``` - -Requirements: - -- Unity 2021.3 LTS or newer -- Project API Compatibility Level: **.NET Standard 2.1** -- `com.unity.nuget.newtonsoft-json` (resolved automatically as a dependency) diff --git a/unity-template/README.md.meta b/unity-template/README.md.meta deleted file mode 100644 index 262cbd4..0000000 --- a/unity-template/README.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2d8bb199bac14b1c928c79197e333642 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/Runtime.meta b/unity-template/Runtime.meta deleted file mode 100644 index de71c6f..0000000 --- a/unity-template/Runtime.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b4d6f8e02c3a5b7d9e0f1a2b3c4d5e6f -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/Runtime/Enjin.Platform.Sdk.dll.meta b/unity-template/Runtime/Enjin.Platform.Sdk.dll.meta deleted file mode 100644 index 812b7c6..0000000 --- a/unity-template/Runtime/Enjin.Platform.Sdk.dll.meta +++ /dev/null @@ -1,27 +0,0 @@ -fileFormatVersion: 2 -guid: e9c1a3f47d8b4e5a9c0d1e2f3a4b5c6d -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/Runtime/Enjin.Platform.Sdk.xml.meta b/unity-template/Runtime/Enjin.Platform.Sdk.xml.meta deleted file mode 100644 index 8fd80c2..0000000 --- a/unity-template/Runtime/Enjin.Platform.Sdk.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f7b2c4e58a9c4d6b8e1f2a3b4c5d6e7f -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/Runtime/link.xml b/unity-template/Runtime/link.xml deleted file mode 100644 index 3500027..0000000 --- a/unity-template/Runtime/link.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - diff --git a/unity-template/Runtime/link.xml.meta b/unity-template/Runtime/link.xml.meta deleted file mode 100644 index b72b458..0000000 --- a/unity-template/Runtime/link.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a3c5e7d91b2f4e6a8c0d1e2f3a4b5c6e -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/Third Party Notices.md b/unity-template/Third Party Notices.md deleted file mode 100644 index 6d5e61a..0000000 --- a/unity-template/Third Party Notices.md +++ /dev/null @@ -1,40 +0,0 @@ -# Third Party Notices - -This package contains compiled code from third-party libraries with the following licenses. - ---- - -## Newtonsoft.Json - -- **Project:** https://www.newtonsoft.com/json -- **Source:** https://github.com/JamesNK/Newtonsoft.Json -- **License:** MIT - -The Enjin Platform SDK depends on `Newtonsoft.Json` for GraphQL request and -response (de)serialization. The library itself is not redistributed inside -this package; it is declared as a UPM dependency on -`com.unity.nuget.newtonsoft-json`, which Unity resolves automatically at -import time. - -``` -The MIT License (MIT) - -Copyright (c) 2007 James Newton-King - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -``` diff --git a/unity-template/Third Party Notices.md.meta b/unity-template/Third Party Notices.md.meta deleted file mode 100644 index 294b201..0000000 --- a/unity-template/Third Party Notices.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4efa32d713d4484baf523d12102c67ed -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/package.json.meta b/unity-template/package.json.meta deleted file mode 100644 index 9232f4c..0000000 --- a/unity-template/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 228bd3fad5db48719e36b9411a894c8c -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity-template/package.json.tmpl b/unity-template/package.json.tmpl deleted file mode 100644 index 38de24b..0000000 --- a/unity-template/package.json.tmpl +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "io.enjin.platform-sdk", - "version": "${VERSION}", - "displayName": "Enjin Platform SDK", - "description": "Open source SDK for connecting to and interacting with the Enjin Platform. Provides a strongly-typed GraphQL client over the v3 Platform API.", - "unity": "2021.3", - "documentationUrl": "https://github.com/enjin/platform-csharp-sdk", - "changelogUrl": "https://github.com/enjin/platform-csharp-sdk/blob/master/CHANGELOG.md", - "licensesUrl": "https://github.com/enjin/platform-csharp-sdk/blob/master/LICENSE", - "keywords": [ - "enjin", - "platform", - "blockchain", - "nft", - "graphql" - ], - "author": { - "name": "Enjin Pte. Ltd.", - "url": "https://enjin.io/" - }, - "dependencies": { - "com.unity.nuget.newtonsoft-json": "3.2.1" - } -}