mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 19:58:49 +00:00
Compare commits
2 Commits
545758ea7c
...
32f9e1b378
Author | SHA1 | Date | |
---|---|---|---|
|
32f9e1b378 | ||
b84d9c734a |
18
.github/workflows/activate-unity.yml
vendored
18
.github/workflows/activate-unity.yml
vendored
@ -1,18 +0,0 @@
|
|||||||
name: Acquire activation file
|
|
||||||
on:
|
|
||||||
workflow_dispatch: {}
|
|
||||||
jobs:
|
|
||||||
activation:
|
|
||||||
name: Request manual activation file 🔑
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# Request manual activation file
|
|
||||||
- name: Request manual activation file
|
|
||||||
id: getManualLicenseFile
|
|
||||||
uses: game-ci/unity-request-activation-file@v2
|
|
||||||
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
|
||||||
- name: Expose as artifact
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
|
||||||
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
|
40
.github/workflows/nightly.yml
vendored
40
.github/workflows/nightly.yml
vendored
@ -34,7 +34,6 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
dotnet pack X10D --configuration Debug --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
dotnet pack X10D --configuration Debug --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
||||||
dotnet pack X10D.Hosting --configuration Debug --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
dotnet pack X10D.Hosting --configuration Debug --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
||||||
dotnet pack X10D.Unity --configuration Debug --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
|
||||||
|
|
||||||
- name: Push NuGet Package to GitHub
|
- name: Push NuGet Package to GitHub
|
||||||
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
||||||
@ -47,42 +46,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: build/
|
path: build/
|
||||||
|
|
||||||
- name: Checkout upm branch
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: upm
|
|
||||||
path: upm
|
|
||||||
|
|
||||||
- name: Build package.json
|
|
||||||
run: |
|
|
||||||
dotnet run --project ./tools/UpmPackageGenerator/UpmPackageGenerator.csproj "./X10D/bin/Debug/netstandard2.1/X10D.dll"
|
|
||||||
cp package.json upm/package.json
|
|
||||||
|
|
||||||
- name: Copy built artifacts to upm
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
cp ../X10D/bin/Debug/netstandard2.1/X10D.dll ./X10D.dll
|
|
||||||
cp ../X10D/bin/Debug/netstandard2.1/X10D.xml ./X10D.xml
|
|
||||||
cp ../X10D.Unity/bin/Debug/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll
|
|
||||||
cp ../X10D.Unity/bin/Debug/netstandard2.1/X10D.Unity.xml ./X10D.Unity.xml
|
|
||||||
|
|
||||||
- name: Check for changes
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git diff --quiet
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Commit update
|
|
||||||
if: ${{ success() }}
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
git add X10D.dll
|
|
||||||
git add X10D.Unity.dll
|
|
||||||
git add X10D.xml
|
|
||||||
git add X10D.Unity.xml
|
|
||||||
git add package.json
|
|
||||||
git commit -m "Update upm branch ($GITHUB_SHA)"
|
|
||||||
git push
|
|
||||||
|
40
.github/workflows/prerelease.yml
vendored
40
.github/workflows/prerelease.yml
vendored
@ -33,7 +33,6 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
dotnet pack X10D --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
dotnet pack X10D --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
||||||
dotnet pack X10D.Hosting --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
dotnet pack X10D.Hosting --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
||||||
dotnet pack X10D.Unity --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
|
||||||
|
|
||||||
- name: Push NuGet Package to GitHub
|
- name: Push NuGet Package to GitHub
|
||||||
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
||||||
@ -52,42 +51,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
- name: Checkout upm branch
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: upm
|
|
||||||
path: upm
|
|
||||||
|
|
||||||
- name: Build package.json
|
|
||||||
run: |
|
|
||||||
dotnet run --project ./tools/UpmPackageGenerator/UpmPackageGenerator.csproj "./X10D/bin/Release/netstandard2.1/X10D.dll"
|
|
||||||
cp package.json upm/package.json
|
|
||||||
|
|
||||||
- name: Copy built artifacts to upm
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
cp ../X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.dll
|
|
||||||
cp ../X10D/bin/Release/netstandard2.1/X10D.xml ./X10D.xml
|
|
||||||
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll
|
|
||||||
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.xml ./X10D.Unity.xml
|
|
||||||
|
|
||||||
- name: Check for changes
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git diff --quiet
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Commit update
|
|
||||||
if: ${{ success() }}
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
git add X10D.dll
|
|
||||||
git add X10D.Unity.dll
|
|
||||||
git add X10D.xml
|
|
||||||
git add X10D.Unity.xml
|
|
||||||
git add package.json
|
|
||||||
git commit -m "Update upm branch ($GITHUB_SHA)"
|
|
||||||
git push
|
|
||||||
|
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
@ -33,7 +33,6 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
dotnet pack X10D --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
dotnet pack X10D --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
||||||
dotnet pack X10D.Hosting --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
dotnet pack X10D.Hosting --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
||||||
dotnet pack X10D.Unity --configuration Release --no-build -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
|
||||||
|
|
||||||
- name: Push NuGet Package to GitHub
|
- name: Push NuGet Package to GitHub
|
||||||
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
||||||
@ -52,42 +51,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
- name: Checkout upm branch
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: upm
|
|
||||||
path: upm
|
|
||||||
|
|
||||||
- name: Build package.json
|
|
||||||
run: |
|
|
||||||
dotnet run --project ./tools/UpmPackageGenerator/UpmPackageGenerator.csproj "./X10D/bin/Release/netstandard2.1/X10D.dll"
|
|
||||||
cp package.json upm/package.json
|
|
||||||
|
|
||||||
- name: Copy built artifacts to upm
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
cp ../X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.dll
|
|
||||||
cp ../X10D/bin/Release/netstandard2.1/X10D.xml ./X10D.xml
|
|
||||||
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.dll
|
|
||||||
cp ../X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.xml ./X10D.Unity.xml
|
|
||||||
|
|
||||||
- name: Check for changes
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git diff --quiet
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Commit update
|
|
||||||
if: ${{ success() }}
|
|
||||||
run: |
|
|
||||||
cd upm
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
git add X10D.dll
|
|
||||||
git add X10D.Unity.dll
|
|
||||||
git add X10D.xml
|
|
||||||
git add X10D.Unity.xml
|
|
||||||
git add package.json
|
|
||||||
git commit -m "Update upm branch ($GITHUB_SHA)"
|
|
||||||
git push
|
|
||||||
|
2
.github/workflows/source_validator.yml
vendored
2
.github/workflows/source_validator.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
|||||||
run: dotnet build -c Debug
|
run: dotnet build -c Debug
|
||||||
|
|
||||||
- name: Run Source Validation
|
- name: Run Source Validation
|
||||||
run: dotnet run --project ./tools/SourceValidator/SourceValidator.csproj ./X10D/src ./X10D.Unity/src
|
run: dotnet run --project ./tools/SourceValidator/SourceValidator.csproj ./X10D/src
|
||||||
|
50
.github/workflows/unity.yml
vendored
50
.github/workflows/unity.yml
vendored
@ -1,50 +0,0 @@
|
|||||||
name: Unity Test Runner
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '*/*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '*/*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: "Unity Test Runner"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: 7.0.x
|
|
||||||
|
|
||||||
- name: Add GitHub NuGet source
|
|
||||||
run: dotnet nuget add source --username oliverbooth --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/oliverbooth/index.json"
|
|
||||||
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build -c Release
|
|
||||||
|
|
||||||
- name: Copy artifacts to project
|
|
||||||
run: |
|
|
||||||
mkdir -p ./X10D.Unity.Tests/Assets/Libraries
|
|
||||||
cp -r ./X10D/bin/Release/netstandard2.1/X10D.dll ./X10D.Unity.Tests/Assets/Libraries/X10D.dll
|
|
||||||
cp -r ./X10D.Unity/bin/Release/netstandard2.1/X10D.Unity.dll ./X10D.Unity.Tests/Assets/Libraries/X10D.Unity.dll
|
|
||||||
|
|
||||||
- name: Unity - Test runner
|
|
||||||
uses: game-ci/unity-test-runner@v2.1.0
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
|
||||||
with:
|
|
||||||
projectPath: X10D.Unity.Tests
|
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -27,8 +27,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- X10D: Added `string.MDBold`, `string.MDCode`, `string.MDCodeBlock([string])`, `string.MDHeading(int)`,
|
- X10D: Added `string.MDBold`, `string.MDCode`, `string.MDCodeBlock([string])`, `string.MDHeading(int)`,
|
||||||
`string.MDItalic`, `string.MDLink`, `string.MDStrikeOut`, and `string.MDUnderline` for Markdown formatting.
|
`string.MDItalic`, `string.MDLink`, `string.MDStrikeOut`, and `string.MDUnderline` for Markdown formatting.
|
||||||
- X10D: Added Span overloads which complement `char.Repeat` and `string.Repeat`.
|
- X10D: Added Span overloads which complement `char.Repeat` and `string.Repeat`.
|
||||||
- X10D.Unity: Added `RaycastHit.GetComponent` and `RaycastHit.TryGetComponent`.
|
|
||||||
- X10D.Unity: Added `DebugUtility.DrawFunction`, and `DebugUtility.DrawUnjoinedPolyhedron` on which it relies.
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@ -48,7 +46,8 @@ TypeInitializationException.
|
|||||||
|
|
||||||
- X10D: Removed `IEnumerable<T>.ConcatOne` - this functionality already exists with `Append`.
|
- X10D: Removed `IEnumerable<T>.ConcatOne` - this functionality already exists with `Append`.
|
||||||
- X10D: Removed `Endianness` enum.
|
- X10D: Removed `Endianness` enum.
|
||||||
- X10D.DSharpPlus: Complete sunset of library. This library will not be updated to support DSharpPlus v5.0.0.
|
- X10D.DSharpPlus: Complete sunset of library. This library will not be updated to support DSharpPlus v5.0.0 (#83).
|
||||||
|
- X10D.Unity: Complete sunset of library. This library will not be updated effective immediately (#86).
|
||||||
|
|
||||||
## [3.3.1] - 2023-08-21
|
## [3.3.1] - 2023-08-21
|
||||||
|
|
||||||
|
@ -109,10 +109,6 @@ Install-Package X10D -Version 4.0.0
|
|||||||
|
|
||||||
Download the [latest release](https://github.com/oliverbooth/X10D/releases/latest) from this repository and adding a direct assembly reference for your chosen platform.
|
Download the [latest release](https://github.com/oliverbooth/X10D/releases/latest) from this repository and adding a direct assembly reference for your chosen platform.
|
||||||
|
|
||||||
### Unity installation
|
|
||||||
|
|
||||||
For the Unity installation guide, refer to the [README.md in X10D.Unity](X10D.Unity/README.md).
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Documentation and the API reference is available at https://oliverbooth.github.io/X10D/index.html. *I'm sorry this took
|
Documentation and the API reference is available at https://oliverbooth.github.io/X10D/index.html. *I'm sorry this took
|
||||||
|
72
X10D.Unity.Tests/.gitignore
vendored
72
X10D.Unity.Tests/.gitignore
vendored
@ -1,72 +0,0 @@
|
|||||||
# This .gitignore file should be placed at the root of your Unity project directory
|
|
||||||
#
|
|
||||||
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
|
|
||||||
#
|
|
||||||
/[Ll]ibrary/
|
|
||||||
/[Tt]emp/
|
|
||||||
/[Oo]bj/
|
|
||||||
/[Bb]uild/
|
|
||||||
/[Bb]uilds/
|
|
||||||
/[Ll]ogs/
|
|
||||||
/[Uu]ser[Ss]ettings/
|
|
||||||
|
|
||||||
# MemoryCaptures can get excessive in size.
|
|
||||||
# They also could contain extremely sensitive data
|
|
||||||
/[Mm]emoryCaptures/
|
|
||||||
|
|
||||||
# Recordings can get excessive in size
|
|
||||||
/[Rr]ecordings/
|
|
||||||
|
|
||||||
# Uncomment this line if you wish to ignore the asset store tools plugin
|
|
||||||
# /[Aa]ssets/AssetStoreTools*
|
|
||||||
|
|
||||||
# Autogenerated Jetbrains Rider plugin
|
|
||||||
/[Aa]ssets/Plugins/Editor/JetBrains*
|
|
||||||
|
|
||||||
# Visual Studio cache directory
|
|
||||||
.vs/
|
|
||||||
|
|
||||||
# Gradle cache directory
|
|
||||||
.gradle/
|
|
||||||
|
|
||||||
# Autogenerated VS/MD/Consulo solution and project files
|
|
||||||
ExportedObj/
|
|
||||||
.consulo/
|
|
||||||
*.csproj
|
|
||||||
*.unityproj
|
|
||||||
*.sln
|
|
||||||
*.suo
|
|
||||||
*.tmp
|
|
||||||
*.user
|
|
||||||
*.userprefs
|
|
||||||
*.pidb
|
|
||||||
*.booproj
|
|
||||||
*.svd
|
|
||||||
*.pdb
|
|
||||||
*.mdb
|
|
||||||
*.opendb
|
|
||||||
*.VC.db
|
|
||||||
|
|
||||||
# Unity3D generated meta files
|
|
||||||
*.pidb.meta
|
|
||||||
*.pdb.meta
|
|
||||||
*.mdb.meta
|
|
||||||
|
|
||||||
# Unity3D generated file on crash reports
|
|
||||||
sysinfo.txt
|
|
||||||
|
|
||||||
# Builds
|
|
||||||
*.apk
|
|
||||||
*.aab
|
|
||||||
*.unitypackage
|
|
||||||
*.app
|
|
||||||
|
|
||||||
# Crashlytics generated file
|
|
||||||
crashlytics-build.properties
|
|
||||||
|
|
||||||
# Packed Addressables
|
|
||||||
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
|
|
||||||
|
|
||||||
# Temporary auto-generated Android Assets
|
|
||||||
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
|
||||||
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
|
2
X10D.Unity.Tests/Assets/.gitignore
vendored
2
X10D.Unity.Tests/Assets/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
Libraries/
|
|
||||||
Libraries.meta
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6ea315d0fd7389c41b19996891e99ae3
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,354 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 0}
|
|
||||||
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 12
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 512
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 256
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 1
|
|
||||||
m_PVRDenoiserTypeDirect: 1
|
|
||||||
m_PVRDenoiserTypeIndirect: 1
|
|
||||||
m_PVRDenoiserTypeAO: 1
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 1
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_LightingSettings: {fileID: 0}
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
accuratePlacement: 0
|
|
||||||
maxJobWorkers: 0
|
|
||||||
preserveTilesOutsideBounds: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &192863441
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 192863443}
|
|
||||||
- component: {fileID: 192863442}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: GameObject
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &192863442
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 192863441}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 0fac6b15ed0b420ba300fc1ac10ef01a, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
_hexagonPoints:
|
|
||||||
- {x: -0.5, y: 0.5}
|
|
||||||
- {x: -0.25, y: 1}
|
|
||||||
- {x: 0.25, y: 1}
|
|
||||||
- {x: 0.5, y: 0.5}
|
|
||||||
- {x: 0.25, y: 0}
|
|
||||||
- {x: -0.25, y: 0}
|
|
||||||
--- !u!4 &192863443
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 192863441}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &585803459
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 585803461}
|
|
||||||
- component: {fileID: 585803460}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &585803460
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 585803459}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 10
|
|
||||||
m_Type: 1
|
|
||||||
m_Shape: 0
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_InnerSpotAngle: 21.80208
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_CullingMatrixOverride:
|
|
||||||
e00: 1
|
|
||||||
e01: 0
|
|
||||||
e02: 0
|
|
||||||
e03: 0
|
|
||||||
e10: 0
|
|
||||||
e11: 1
|
|
||||||
e12: 0
|
|
||||||
e13: 0
|
|
||||||
e20: 0
|
|
||||||
e21: 0
|
|
||||||
e22: 1
|
|
||||||
e23: 0
|
|
||||||
e30: 0
|
|
||||||
e31: 0
|
|
||||||
e32: 0
|
|
||||||
e33: 1
|
|
||||||
m_UseCullingMatrixOverride: 0
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_Lightmapping: 4
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_UseBoundingSphereOverride: 0
|
|
||||||
m_UseViewFrustumForShadowCasterCull: 1
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &585803461
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 585803459}
|
|
||||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
--- !u!1 &1189625736
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1189625739}
|
|
||||||
- component: {fileID: 1189625738}
|
|
||||||
- component: {fileID: 1189625737}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &1189625737
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1189625736}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &1189625738
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1189625736}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 1
|
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FOVAxisMode: 0
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: -1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &1189625739
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1189625736}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f2337eeeb085a25408461d996bb20a9c
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,267 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 705507994}
|
|
||||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 12
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 500
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 500
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 2
|
|
||||||
m_PVRDenoiserTypeDirect: 0
|
|
||||||
m_PVRDenoiserTypeIndirect: 0
|
|
||||||
m_PVRDenoiserTypeAO: 0
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 0
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_LightingSettings: {fileID: 0}
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
accuratePlacement: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &705507993
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 705507995}
|
|
||||||
- component: {fileID: 705507994}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &705507994
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 705507993}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 8
|
|
||||||
m_Type: 1
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_Lightmapping: 1
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &705507995
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 705507993}
|
|
||||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
--- !u!1 &963194225
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 963194228}
|
|
||||||
- component: {fileID: 963194227}
|
|
||||||
- component: {fileID: 963194226}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &963194226
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 963194225}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &963194227
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 963194225}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 1
|
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: -1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &963194228
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 963194225}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9fc0d4010bbf28b4594072e72b8655ab
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,347 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 0}
|
|
||||||
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 12
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 512
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 256
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 1
|
|
||||||
m_PVRDenoiserTypeDirect: 1
|
|
||||||
m_PVRDenoiserTypeIndirect: 1
|
|
||||||
m_PVRDenoiserTypeAO: 1
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 1
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_LightingSettings: {fileID: 0}
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
accuratePlacement: 0
|
|
||||||
maxJobWorkers: 0
|
|
||||||
preserveTilesOutsideBounds: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &736700400
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 736700402}
|
|
||||||
- component: {fileID: 736700401}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: GameObject
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &736700401
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 736700400}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 67d53e2f993d4a5ba0eb34431d1846cd, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!4 &736700402
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 736700400}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &1077233431
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1077233433}
|
|
||||||
- component: {fileID: 1077233432}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &1077233432
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1077233431}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 10
|
|
||||||
m_Type: 1
|
|
||||||
m_Shape: 0
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_InnerSpotAngle: 21.80208
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_CullingMatrixOverride:
|
|
||||||
e00: 1
|
|
||||||
e01: 0
|
|
||||||
e02: 0
|
|
||||||
e03: 0
|
|
||||||
e10: 0
|
|
||||||
e11: 1
|
|
||||||
e12: 0
|
|
||||||
e13: 0
|
|
||||||
e20: 0
|
|
||||||
e21: 0
|
|
||||||
e22: 1
|
|
||||||
e23: 0
|
|
||||||
e30: 0
|
|
||||||
e31: 0
|
|
||||||
e32: 0
|
|
||||||
e33: 1
|
|
||||||
m_UseCullingMatrixOverride: 0
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_Lightmapping: 4
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_UseBoundingSphereOverride: 0
|
|
||||||
m_UseViewFrustumForShadowCasterCull: 1
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &1077233433
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1077233431}
|
|
||||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
--- !u!1 &1698122894
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1698122897}
|
|
||||||
- component: {fileID: 1698122896}
|
|
||||||
- component: {fileID: 1698122895}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &1698122895
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1698122894}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &1698122896
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1698122894}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 1
|
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FOVAxisMode: 0
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: -1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &1698122897
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1698122894}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b95b5f3924bd65b4bb0b7703abdd4fe5
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 478095eaef020f34ea189f98c9369aab
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,31 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
|
|
||||||
using System.Collections;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.TestTools;
|
|
||||||
using Object = UnityEngine.Object;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class ComponentTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void GetComponentsInChildrenOnly_ShouldIgnoreParent()
|
|
||||||
{
|
|
||||||
var parent = new GameObject();
|
|
||||||
var rigidbody = parent.AddComponent<Rigidbody>();
|
|
||||||
|
|
||||||
var child = new GameObject();
|
|
||||||
child.transform.SetParent(parent.transform);
|
|
||||||
child.AddComponent<Rigidbody>();
|
|
||||||
|
|
||||||
Rigidbody[] components = rigidbody.GetComponentsInChildrenOnly<Rigidbody>();
|
|
||||||
Assert.That(components, Has.Length.EqualTo(1));
|
|
||||||
Assert.That(child, Is.EqualTo(components[0].gameObject));
|
|
||||||
|
|
||||||
Object.Destroy(parent);
|
|
||||||
Object.Destroy(child);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0619dbb274114e4aa247ed8f4e7cff03
|
|
||||||
timeCreated: 1652006240
|
|
@ -1,44 +0,0 @@
|
|||||||
using System;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Drawing;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Color = UnityEngine.Color;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
internal sealed class DebugUtilityIntegrationTests : MonoBehaviour
|
|
||||||
{
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
DebugUtility.DrawLine(Vector3.zero, Vector3.right, Color.red);
|
|
||||||
DebugUtility.DrawLine(Vector3.zero, Vector3.up, Color.green);
|
|
||||||
DebugUtility.DrawLine(Vector3.zero, Vector3.forward, Color.blue);
|
|
||||||
|
|
||||||
DebugUtility.DrawWireCube(new Vector3(1.5f, 0.5f, 0), Vector3.one * 0.5f, Color.yellow);
|
|
||||||
DebugUtility.DrawRectangle(new Vector2(-1.5f, 0.5f), Vector2.one * -0.5f, Color.cyan);
|
|
||||||
|
|
||||||
var circle = new CircleF(0.0f, 0.0f, 0.5f);
|
|
||||||
DebugUtility.DrawCircle(circle, 25, new Vector2(-3.0f, 0.5f), Color.magenta);
|
|
||||||
|
|
||||||
var ellipse = new EllipseF(0.0f, 0.0f, 1.0f, 0.5f);
|
|
||||||
DebugUtility.DrawEllipse(ellipse, 25, new Vector2(0.0f, 1.5f), Color.white);
|
|
||||||
|
|
||||||
var hexagon = new PolygonF();
|
|
||||||
hexagon.AddVertex(new Vector2(-0.5f, 0.5f));
|
|
||||||
hexagon.AddVertex(new Vector2(-0.25f, 1.0f));
|
|
||||||
hexagon.AddVertex(new Vector2(0.25f, 1.0f));
|
|
||||||
hexagon.AddVertex(new Vector2(0.5f, 0.5f));
|
|
||||||
hexagon.AddVertex(new Vector2(0.25f, 0));
|
|
||||||
hexagon.AddVertex(new Vector2(-0.25f, 0));
|
|
||||||
DebugUtility.DrawPolygon(hexagon, new Vector2(3.0f, 0.0f), Color.white);
|
|
||||||
|
|
||||||
var sphere = new Sphere(System.Numerics.Vector3.Zero, 0.5f);
|
|
||||||
DebugUtility.DrawSphere(sphere, 25, new Vector2(0.0f, -1.5f), Color.white);
|
|
||||||
|
|
||||||
DebugUtility.DrawFunction(x => MathF.Sin(x + UnityEngine.Time.time % (2 * MathF.PI)), -10, 10, 0.1f, Vector3.up * 4,
|
|
||||||
Color.yellow, 0.0f, false);
|
|
||||||
|
|
||||||
DebugUtility.Assert(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0fac6b15ed0b420ba300fc1ac10ef01a
|
|
||||||
timeCreated: 1654080788
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9674f5a2171d4c7d88cbfe9f1249bb27
|
|
||||||
timeCreated: 1652006440
|
|
@ -1,123 +0,0 @@
|
|||||||
using System;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class Color32Tests
|
|
||||||
{
|
|
||||||
private static readonly Color32 Black = new(0, 0, 0, 255);
|
|
||||||
private static readonly Color32 White = new(255, 255, 255, 255);
|
|
||||||
private static readonly Color32 Red = new(255, 0, 0, 255);
|
|
||||||
private static readonly Color32 Green = new(0, 255, 0, 255);
|
|
||||||
private static readonly Color32 Blue = new(0, 0, 255, 255);
|
|
||||||
private static readonly Color32 Cyan = new(0, 255, 255, 255);
|
|
||||||
private static readonly Color32 Magenta = new(255, 0, 255, 255);
|
|
||||||
private static readonly Color32 Yellow = new(255, 255, 0, 255);
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldDeconstruct_ToCorrectValues()
|
|
||||||
{
|
|
||||||
byte a, r, g, b;
|
|
||||||
|
|
||||||
(r, g, b) = White;
|
|
||||||
Assert.That(r, Is.EqualTo(255));
|
|
||||||
Assert.That(g, Is.EqualTo(255));
|
|
||||||
Assert.That(b, Is.EqualTo(255));
|
|
||||||
|
|
||||||
(a, r, g, b) = Yellow;
|
|
||||||
Assert.That(a, Is.EqualTo(255));
|
|
||||||
Assert.That(r, Is.EqualTo(255));
|
|
||||||
Assert.That(g, Is.EqualTo(255));
|
|
||||||
Assert.That(b, Is.EqualTo(0));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void GetClosestConsoleColor_ShouldReturnClosestColor_GivenValidColor()
|
|
||||||
{
|
|
||||||
// I know it's just casting... but aim for 100% coverage babyyyy
|
|
||||||
|
|
||||||
Assert.That(((Color32)Color.red).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Red));
|
|
||||||
Assert.That(((Color32)Color.green).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Green));
|
|
||||||
Assert.That(((Color32)Color.blue).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Blue));
|
|
||||||
Assert.That(((Color32)Color.white).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.White));
|
|
||||||
Assert.That(((Color32)Color.black).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Black));
|
|
||||||
Assert.That(((Color32)Color.yellow).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Yellow));
|
|
||||||
Assert.That(((Color32)Color.cyan).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Cyan));
|
|
||||||
Assert.That(((Color32)Color.magenta).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Magenta));
|
|
||||||
Assert.That(((Color32)Color.gray).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Gray));
|
|
||||||
Assert.That(((Color32)Color.grey).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Gray));
|
|
||||||
Assert.That(((Color32)Color.clear).GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Black));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Inverted_ShouldReturnInvertedColor()
|
|
||||||
{
|
|
||||||
Assert.That(Black.Inverted(), Is.EqualTo(White));
|
|
||||||
Assert.That(White.Inverted(), Is.EqualTo(Black));
|
|
||||||
Assert.That(Cyan.Inverted(), Is.EqualTo(Red));
|
|
||||||
Assert.That(Red.Inverted(), Is.EqualTo(Cyan));
|
|
||||||
Assert.That(Magenta.Inverted(), Is.EqualTo(Green));
|
|
||||||
Assert.That(Green.Inverted(), Is.EqualTo(Magenta));
|
|
||||||
Assert.That(Blue.Inverted(), Is.EqualTo(Yellow));
|
|
||||||
Assert.That(Yellow.Inverted(), Is.EqualTo(Blue));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Inverted_ShouldIgnoreAlpha()
|
|
||||||
{
|
|
||||||
var expected = new Color32(0, 0, 0, 255);
|
|
||||||
var actual = new Color32(255, 255, 255, 255).Inverted();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemDrawingColor_ShouldReturnEquivalentColor()
|
|
||||||
{
|
|
||||||
System.Drawing.Color expected = System.Drawing.Color.FromArgb(255, 255, 255);
|
|
||||||
System.Drawing.Color actual = White.ToSystemDrawingColor();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityColor32_ShouldReturnEquivalentColor()
|
|
||||||
{
|
|
||||||
Color32 expected = White;
|
|
||||||
Color32 actual = System.Drawing.Color.FromArgb(255, 255, 255).ToUnityColor32();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithA0_ShouldReturnSameColor_GivenWhite()
|
|
||||||
{
|
|
||||||
var transparent = new Color32(255, 255, 255, 0);
|
|
||||||
Assert.That(White.WithA(0), Is.EqualTo(transparent));
|
|
||||||
Assert.That(transparent.WithA(0), Is.EqualTo(transparent));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithB0_ShouldReturnYellow_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithB(0), Is.EqualTo(Yellow));
|
|
||||||
Assert.That(Yellow.WithB(0), Is.EqualTo(Yellow));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithG0_ShouldReturnMagenta_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithG(0), Is.EqualTo(Magenta));
|
|
||||||
Assert.That(Magenta.WithG(0), Is.EqualTo(Magenta));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithR0_ShouldReturnCyan_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithR(0), Is.EqualTo(Cyan));
|
|
||||||
Assert.That(Cyan.WithR(0), Is.EqualTo(Cyan));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 877c5a68b0dd44c68aae01463ae26b26
|
|
||||||
timeCreated: 1652035626
|
|
@ -1,121 +0,0 @@
|
|||||||
using System;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class ColorTests
|
|
||||||
{
|
|
||||||
private static readonly Color Black = new(0, 0, 0);
|
|
||||||
private static readonly Color White = new(1, 1, 1);
|
|
||||||
private static readonly Color Red = new(1, 0, 0);
|
|
||||||
private static readonly Color Green = new(0, 1, 0);
|
|
||||||
private static readonly Color Blue = new(0, 0, 1);
|
|
||||||
private static readonly Color Cyan = new(0, 1, 1);
|
|
||||||
private static readonly Color Magenta = new(1, 0, 1);
|
|
||||||
private static readonly Color Yellow = new(1, 1, 0);
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldDeconstruct_ToCorrectValues()
|
|
||||||
{
|
|
||||||
float a, r, g, b;
|
|
||||||
|
|
||||||
(r, g, b) = White;
|
|
||||||
Assert.That(r, Is.EqualTo(1.0f));
|
|
||||||
Assert.That(g, Is.EqualTo(1.0f));
|
|
||||||
Assert.That(b, Is.EqualTo(1.0f));
|
|
||||||
|
|
||||||
(a, r, g, b) = Yellow;
|
|
||||||
Assert.That(a, Is.EqualTo(1.0f));
|
|
||||||
Assert.That(r, Is.EqualTo(1.0f));
|
|
||||||
Assert.That(g, Is.EqualTo(1.0f));
|
|
||||||
Assert.That(b, Is.EqualTo(0.0f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void GetClosestConsoleColor_ShouldReturnClosestColor_GivenValidColor()
|
|
||||||
{
|
|
||||||
Assert.That(Color.red.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Red));
|
|
||||||
Assert.That(Color.green.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Green));
|
|
||||||
Assert.That(Color.blue.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Blue));
|
|
||||||
Assert.That(Color.white.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.White));
|
|
||||||
Assert.That(Color.black.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Black));
|
|
||||||
Assert.That(Color.yellow.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Yellow));
|
|
||||||
Assert.That(Color.cyan.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Cyan));
|
|
||||||
Assert.That(Color.magenta.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Magenta));
|
|
||||||
Assert.That(Color.gray.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Gray));
|
|
||||||
Assert.That(Color.grey.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Gray));
|
|
||||||
Assert.That(Color.clear.GetClosestConsoleColor(), Is.EqualTo(ConsoleColor.Black));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Inverted_ShouldReturnInvertedColor()
|
|
||||||
{
|
|
||||||
Assert.That(Black.Inverted(), Is.EqualTo(White));
|
|
||||||
Assert.That(White.Inverted(), Is.EqualTo(Black));
|
|
||||||
Assert.That(Cyan.Inverted(), Is.EqualTo(Red));
|
|
||||||
Assert.That(Red.Inverted(), Is.EqualTo(Cyan));
|
|
||||||
Assert.That(Magenta.Inverted(), Is.EqualTo(Green));
|
|
||||||
Assert.That(Green.Inverted(), Is.EqualTo(Magenta));
|
|
||||||
Assert.That(Blue.Inverted(), Is.EqualTo(Yellow));
|
|
||||||
Assert.That(Yellow.Inverted(), Is.EqualTo(Blue));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Inverted_ShouldIgnoreAlpha()
|
|
||||||
{
|
|
||||||
var expected = new Color(0, 0, 0, 1);
|
|
||||||
var actual = new Color(1, 1, 1, 1).Inverted();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemDrawingColor_ShouldReturnEquivalentColor()
|
|
||||||
{
|
|
||||||
System.Drawing.Color expected = System.Drawing.Color.FromArgb(255, 255, 255);
|
|
||||||
System.Drawing.Color actual = White.ToSystemDrawingColor();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityColor_ShouldReturnEquivalentColor()
|
|
||||||
{
|
|
||||||
Color expected = White;
|
|
||||||
Color actual = System.Drawing.Color.FromArgb(255, 255, 255).ToUnityColor();
|
|
||||||
|
|
||||||
Assert.That(actual, Is.EqualTo(expected));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithA0_ShouldReturnSameColor_GivenWhite()
|
|
||||||
{
|
|
||||||
var transparent = new Color(1, 1, 1, 0);
|
|
||||||
Assert.That(White.WithA(0), Is.EqualTo(transparent));
|
|
||||||
Assert.That(transparent.WithA(0), Is.EqualTo(transparent));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithB0_ShouldReturnYellow_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithB(0), Is.EqualTo(Yellow));
|
|
||||||
Assert.That(Yellow.WithB(0), Is.EqualTo(Yellow));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithG0_ShouldReturnMagenta_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithG(0), Is.EqualTo(Magenta));
|
|
||||||
Assert.That(Magenta.WithG(0), Is.EqualTo(Magenta));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithR0_ShouldReturnCyan_GivenWhite()
|
|
||||||
{
|
|
||||||
Assert.That(White.WithR(0), Is.EqualTo(Cyan));
|
|
||||||
Assert.That(Cyan.WithR(0), Is.EqualTo(Cyan));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 61df0ae6778a4ab084e688f13adfc29c
|
|
||||||
timeCreated: 1652035747
|
|
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class PointFTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var point = new PointF(random.NextSingle(), random.NextSingle());
|
|
||||||
var vector = point.ToUnityVector2();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(point.X).Within(1e-6f));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(point.Y).Within(1e-6f));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d90695756d1d4760aef2523486b1b41e
|
|
||||||
timeCreated: 1653743243
|
|
@ -1,32 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class PointTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var point = new Point(random.Next(), random.Next());
|
|
||||||
var vector = point.ToUnityVector2();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(point.X));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(point.Y));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2Int_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var point = new Point(random.Next(), random.Next());
|
|
||||||
var vector = point.ToUnityVector2Int();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(point.X));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(point.Y));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f465794fdc394d05a34229f34e5199e2
|
|
||||||
timeCreated: 1653742987
|
|
@ -1,77 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class RandomTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void NextColorArgb_ShouldReturn331515e5_GivenSeed1234()
|
|
||||||
{
|
|
||||||
var random = new Random(1234);
|
|
||||||
var color = random.NextColorArgb();
|
|
||||||
Assert.That(color.r, Is.EqualTo(0.373868465f).Within(1e-6f));
|
|
||||||
Assert.That(color.g, Is.EqualTo(0.391597569f).Within(1e-6f));
|
|
||||||
Assert.That(color.b, Is.EqualTo(0.675019085f).Within(1e-6f));
|
|
||||||
Assert.That(color.a, Is.EqualTo(0.234300315f).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColorArgb_ShouldThrow_GivenNull()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextColorArgb());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColor32Argb_ShouldReturn331515e5_GivenSeed1234()
|
|
||||||
{
|
|
||||||
var random = new Random(1234);
|
|
||||||
Assert.That(random.NextColor32Argb(), Is.EqualTo(new Color32(21, 21, 229, 51)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColor32Argb_ShouldThrow_GivenNull()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextColor32Argb());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColorRgb_ShouldReturn1515e5_GivenSeed1234()
|
|
||||||
{
|
|
||||||
var random = new Random(1234);
|
|
||||||
var color = random.NextColorRgb();
|
|
||||||
Assert.That(color.r, Is.EqualTo(0.234300315f).Within(1e-6f));
|
|
||||||
Assert.That(color.g, Is.EqualTo(0.373868465f).Within(1e-6f));
|
|
||||||
Assert.That(color.b, Is.EqualTo(0.391597569f).Within(1e-6f));
|
|
||||||
Assert.That(color.a, Is.EqualTo(1).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColorRgb_ShouldThrow_GivenNull()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextColorRgb());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColor32Rgb_ShouldReturn1515e5_GivenSeed1234()
|
|
||||||
{
|
|
||||||
var random = new Random(1234);
|
|
||||||
Assert.That(random.NextColor32Rgb(), Is.EqualTo(new Color32(21, 21, 229, 255)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextColor32Rgb_ShouldThrow_GivenNull()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextColor32Rgb());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 28fa03c101834cd79774d8138b9d4adb
|
|
||||||
timeCreated: 1652006445
|
|
@ -1,36 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class RectIntTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToSystemRectangle_ShouldReturnRectangleF_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rect = new RectInt(random.Next(), random.Next(), random.Next(), random.Next());
|
|
||||||
var rectangle = rect.ToSystemRectangle();
|
|
||||||
|
|
||||||
Assert.That(rectangle.X, Is.EqualTo(rect.x));
|
|
||||||
Assert.That(rectangle.Y, Is.EqualTo(rect.y));
|
|
||||||
Assert.That(rectangle.Width, Is.EqualTo(rect.width));
|
|
||||||
Assert.That(rectangle.Height, Is.EqualTo(rect.height));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemRectangleF_ShouldReturnRectangleF_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rect = new RectInt(random.Next(), random.Next(), random.Next(), random.Next());
|
|
||||||
var rectangle = rect.ToSystemRectangleF();
|
|
||||||
|
|
||||||
Assert.That(rectangle.X, Is.EqualTo(rect.x));
|
|
||||||
Assert.That(rectangle.Y, Is.EqualTo(rect.y));
|
|
||||||
Assert.That(rectangle.Width, Is.EqualTo(rect.width));
|
|
||||||
Assert.That(rectangle.Height, Is.EqualTo(rect.height));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 18f2e8fbc200475ca5fe7857a457a874
|
|
||||||
timeCreated: 1654077768
|
|
@ -1,24 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class RectTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToSystemRectangleF_ShouldReturnRectangleF_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rect = new Rect(random.NextSingle(), random.NextSingle(), random.NextSingle(), random.NextSingle());
|
|
||||||
var rectangle = rect.ToSystemRectangleF();
|
|
||||||
|
|
||||||
Assert.That(rectangle.X, Is.EqualTo(rect.x).Within(1e-6f));
|
|
||||||
Assert.That(rectangle.Y, Is.EqualTo(rect.y).Within(1e-6f));
|
|
||||||
Assert.That(rectangle.Width, Is.EqualTo(rect.width).Within(1e-6f));
|
|
||||||
Assert.That(rectangle.Height, Is.EqualTo(rect.height).Within(1e-6f));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bb1ec5372c354f06b39e03649b9307db
|
|
||||||
timeCreated: 1653743583
|
|
@ -1,24 +0,0 @@
|
|||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class RectangleFTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityRect_ShouldReturnRect_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rectangle = new RectangleF(random.NextSingle(), random.NextSingle(), random.NextSingle(), random.NextSingle());
|
|
||||||
var rect = rectangle.ToUnityRect();
|
|
||||||
|
|
||||||
Assert.That(rect.x, Is.EqualTo(rectangle.X).Within(1e-6f));
|
|
||||||
Assert.That(rect.y, Is.EqualTo(rectangle.Y).Within(1e-6f));
|
|
||||||
Assert.That(rect.width, Is.EqualTo(rectangle.Width).Within(1e-6f));
|
|
||||||
Assert.That(rect.height, Is.EqualTo(rectangle.Height).Within(1e-6f));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f38cbc892021405cad2b52de1f960a00
|
|
||||||
timeCreated: 1653743640
|
|
@ -1,36 +0,0 @@
|
|||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class RectangleTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityRect_ShouldReturnRect_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rectangle = new Rectangle(random.Next(), random.Next(), random.Next(), random.Next());
|
|
||||||
var rect = rectangle.ToUnityRect();
|
|
||||||
|
|
||||||
Assert.That(rect.x, Is.EqualTo(rectangle.X));
|
|
||||||
Assert.That(rect.y, Is.EqualTo(rectangle.Y));
|
|
||||||
Assert.That(rect.width, Is.EqualTo(rectangle.Width));
|
|
||||||
Assert.That(rect.height, Is.EqualTo(rectangle.Height));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityRectInt_ShouldReturnRect_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var rectangle = new Rectangle(random.Next(), random.Next(), random.Next(), random.Next());
|
|
||||||
var rect = rectangle.ToUnityRectInt();
|
|
||||||
|
|
||||||
Assert.That(rect.x, Is.EqualTo(rectangle.X));
|
|
||||||
Assert.That(rect.y, Is.EqualTo(rectangle.Y));
|
|
||||||
Assert.That(rect.width, Is.EqualTo(rectangle.Width));
|
|
||||||
Assert.That(rect.height, Is.EqualTo(rectangle.Height));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9c74177035d1452a8a7ca08c0a27124b
|
|
||||||
timeCreated: 1653743677
|
|
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class SizeFTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var size = new SizeF(random.NextSingle(), random.NextSingle());
|
|
||||||
var vector = size.ToUnityVector2();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(size.Width).Within(1e-6f));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(size.Height).Within(1e-6f));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b93fe56510de4ddcb9354bde7f10c362
|
|
||||||
timeCreated: 1653743377
|
|
@ -1,32 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Drawing;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Unity.Drawing;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Drawing
|
|
||||||
{
|
|
||||||
public class SizeTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var size = new Size(random.Next(), random.Next());
|
|
||||||
var vector = size.ToUnityVector2();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(size.Width));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(size.Height));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector2Int_ShouldReturnVector_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var size = new Size(random.Next(), random.Next());
|
|
||||||
var vector = size.ToUnityVector2Int();
|
|
||||||
|
|
||||||
Assert.That(vector.x, Is.EqualTo(size.Width));
|
|
||||||
Assert.That(vector.y, Is.EqualTo(size.Height));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c748bfe02fce4b459df7ef2779c2a486
|
|
||||||
timeCreated: 1653743400
|
|
@ -1,116 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using Object = UnityEngine.Object;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class GameObjectTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void GetComponentsInChildrenOnly_ShouldIgnoreParent()
|
|
||||||
{
|
|
||||||
var parent = new GameObject();
|
|
||||||
parent.AddComponent<Rigidbody>();
|
|
||||||
|
|
||||||
var child = new GameObject();
|
|
||||||
child.transform.SetParent(parent.transform);
|
|
||||||
child.AddComponent<Rigidbody>();
|
|
||||||
|
|
||||||
Rigidbody[] components = parent.GetComponentsInChildrenOnly<Rigidbody>();
|
|
||||||
Assert.That(components, Has.Length.EqualTo(1));
|
|
||||||
Assert.That(child, Is.EqualTo(components[0].gameObject));
|
|
||||||
|
|
||||||
Object.Destroy(parent);
|
|
||||||
Object.Destroy(child);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
[SuppressMessage("ReSharper", "Unity.InefficientPropertyAccess", Justification = "False positive.")]
|
|
||||||
public void LookAt_ShouldRotateSameAsTransform()
|
|
||||||
{
|
|
||||||
var first = new GameObject {transform = {position = Vector3.zero, rotation = Quaternion.identity}};
|
|
||||||
var second = new GameObject {transform = {position = Vector3.right, rotation = Quaternion.identity}};
|
|
||||||
Transform firstTransform = first.transform;
|
|
||||||
Transform secondTransform = second.transform;
|
|
||||||
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
Assert.That(secondTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
firstTransform.LookAt(secondTransform);
|
|
||||||
Quaternion expected = firstTransform.rotation;
|
|
||||||
|
|
||||||
firstTransform.rotation = Quaternion.identity;
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
first.LookAt(second);
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(expected));
|
|
||||||
|
|
||||||
firstTransform.rotation = Quaternion.identity;
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
first.LookAt(second.transform);
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(expected));
|
|
||||||
|
|
||||||
firstTransform.rotation = Quaternion.identity;
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
first.LookAt(Vector3.right);
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(expected));
|
|
||||||
|
|
||||||
Object.Destroy(first);
|
|
||||||
Object.Destroy(second);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void SetLayerRecursively_ShouldSetLayerRecursively()
|
|
||||||
{
|
|
||||||
var parent = new GameObject();
|
|
||||||
var child = new GameObject();
|
|
||||||
var grandChild = new GameObject();
|
|
||||||
|
|
||||||
child.transform.SetParent(parent.transform);
|
|
||||||
grandChild.transform.SetParent(child.transform);
|
|
||||||
|
|
||||||
int layer = LayerMask.NameToLayer("UI");
|
|
||||||
Assert.AreNotEqual(layer, parent.layer);
|
|
||||||
Assert.AreNotEqual(layer, child.layer);
|
|
||||||
Assert.AreNotEqual(layer, grandChild.layer);
|
|
||||||
|
|
||||||
parent.SetLayerRecursively(layer);
|
|
||||||
|
|
||||||
Assert.That(parent.layer, Is.EqualTo(layer));
|
|
||||||
Assert.That(child.layer, Is.EqualTo(layer));
|
|
||||||
Assert.That(grandChild.layer, Is.EqualTo(layer));
|
|
||||||
|
|
||||||
Object.Destroy(parent);
|
|
||||||
Object.Destroy(child);
|
|
||||||
Object.Destroy(grandChild);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
[SuppressMessage("ReSharper", "Unity.InefficientPropertyAccess", Justification = "False positive.")]
|
|
||||||
public void SetParent_ShouldSetParent()
|
|
||||||
{
|
|
||||||
var first = new GameObject {transform = {position = Vector3.zero, rotation = Quaternion.identity}};
|
|
||||||
var second = new GameObject {transform = {position = Vector3.right, rotation = Quaternion.identity}};
|
|
||||||
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(null));
|
|
||||||
Assert.That(second.transform.parent, Is.EqualTo(null));
|
|
||||||
|
|
||||||
first.SetParent(second);
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(second.transform));
|
|
||||||
|
|
||||||
first.transform.SetParent(null!);
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(null));
|
|
||||||
|
|
||||||
second.SetParent(first);
|
|
||||||
Assert.That(second.transform.parent, Is.EqualTo(first.transform));
|
|
||||||
|
|
||||||
Object.Destroy(first);
|
|
||||||
Object.Destroy(second);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1fde6c311eaec944abe1e4531a2980bc
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c906e39e3c8d44c7a8dafe042fedf677
|
|
||||||
timeCreated: 1652006420
|
|
@ -1,47 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class QuaternionTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void ToSystemQuaternion_ShouldReturnQuaternion_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
float w = random.NextSingle();
|
|
||||||
|
|
||||||
var quaternion = new Quaternion(x, y, z, w);
|
|
||||||
var systemQuaternion = quaternion.ToSystemQuaternion();
|
|
||||||
|
|
||||||
Assert.That(systemQuaternion.X, Is.EqualTo(quaternion.x).Within(1e-6f));
|
|
||||||
Assert.That(systemQuaternion.Y, Is.EqualTo(quaternion.y).Within(1e-6f));
|
|
||||||
Assert.That(systemQuaternion.Z, Is.EqualTo(quaternion.z).Within(1e-6f));
|
|
||||||
Assert.That(systemQuaternion.W, Is.EqualTo(quaternion.w).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityQuaternion_ShouldReturnQuaternion_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
float w = random.NextSingle();
|
|
||||||
|
|
||||||
var quaternion = new System.Numerics.Quaternion(x, y, z, w);
|
|
||||||
var unityQuaternion = quaternion.ToUnityQuaternion();
|
|
||||||
|
|
||||||
Assert.That(unityQuaternion.x, Is.EqualTo(quaternion.X).Within(1e-6f));
|
|
||||||
Assert.That(unityQuaternion.y, Is.EqualTo(quaternion.Y).Within(1e-6f));
|
|
||||||
Assert.That(unityQuaternion.z, Is.EqualTo(quaternion.Z).Within(1e-6f));
|
|
||||||
Assert.That(unityQuaternion.w, Is.EqualTo(quaternion.W).Within(1e-6f));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a395fec41c5a4e9d9ffb05324e8159b0
|
|
||||||
timeCreated: 1652124913
|
|
@ -1,55 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class RandomTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void NextUnitVector2_ShouldReturnVector_WithMagnitude1()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var vector = random.NextUnitVector2();
|
|
||||||
Assert.That(vector.magnitude, Is.EqualTo(1).Within(1e-6));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextUnitVector2_ShouldThrow_GivenNullRandom()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextUnitVector2());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextUnitVector3_ShouldReturnVector_WithMagnitude1()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
var vector = random.NextUnitVector3();
|
|
||||||
Assert.That(vector.magnitude, Is.EqualTo(1).Within(1e-6));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextUnitVector3_ShouldThrow_GivenNullRandom()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextUnitVector3());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextRotation_ShouldThrow_GivenNullRandom()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextRotation());
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void NextRotationUniform_ShouldThrow_GivenNullRandom()
|
|
||||||
{
|
|
||||||
Random random = null!;
|
|
||||||
Assert.Throws<ArgumentNullException>(() => random.NextRotationUniform());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 74577fe33f85446194c4ae2315caaace
|
|
||||||
timeCreated: 1652006301
|
|
@ -1,76 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class Vector2IntTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldReturnCorrectValues()
|
|
||||||
{
|
|
||||||
var vector = new Vector2Int(1, 2);
|
|
||||||
(int x, int y) = vector;
|
|
||||||
|
|
||||||
Assert.That(x, Is.EqualTo(1));
|
|
||||||
Assert.That(y, Is.EqualTo(2));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemPoint_ShouldReturnPoint_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
int x = random.Next();
|
|
||||||
int y = random.Next();
|
|
||||||
|
|
||||||
var vector = new Vector2Int(x, y);
|
|
||||||
var point = vector.ToSystemPoint();
|
|
||||||
|
|
||||||
Assert.That(point.X, Is.EqualTo(vector.x));
|
|
||||||
Assert.That(point.Y, Is.EqualTo(vector.y));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemSize_ShouldReturnSize_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
int x = random.Next();
|
|
||||||
int y = random.Next();
|
|
||||||
|
|
||||||
var vector = new Vector2Int(x, y);
|
|
||||||
var point = vector.ToSystemSize();
|
|
||||||
|
|
||||||
Assert.That(point.Width, Is.EqualTo(vector.x));
|
|
||||||
Assert.That(point.Height, Is.EqualTo(vector.y));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithX_ShouldReturnVectorWithNewX_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector2Int.one.WithX(0), Is.EqualTo(Vector2Int.up));
|
|
||||||
Assert.That(Vector2Int.zero.WithX(0), Is.EqualTo(Vector2Int.zero));
|
|
||||||
Assert.That(Vector2Int.right.WithX(0), Is.EqualTo(Vector2Int.zero));
|
|
||||||
Assert.That(Vector2Int.up.WithX(0), Is.EqualTo(Vector2Int.up));
|
|
||||||
|
|
||||||
Assert.That(Vector2Int.one.WithX(1), Is.EqualTo(Vector2Int.one));
|
|
||||||
Assert.That(Vector2Int.zero.WithX(1), Is.EqualTo(Vector2Int.right));
|
|
||||||
Assert.That(Vector2Int.right.WithX(1), Is.EqualTo(Vector2Int.right));
|
|
||||||
Assert.That(Vector2Int.up.WithX(1), Is.EqualTo(Vector2Int.one));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithY_ShouldReturnVectorWithNewY_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector2Int.one.WithY(0), Is.EqualTo(Vector2Int.right));
|
|
||||||
Assert.That(Vector2Int.zero.WithY(0), Is.EqualTo(Vector2Int.zero));
|
|
||||||
Assert.That(Vector2Int.right.WithY(0), Is.EqualTo(Vector2Int.right));
|
|
||||||
Assert.That(Vector2Int.up.WithY(0), Is.EqualTo(Vector2Int.zero));
|
|
||||||
|
|
||||||
Assert.That(Vector2Int.one.WithY(1), Is.EqualTo(Vector2Int.one));
|
|
||||||
Assert.That(Vector2Int.zero.WithY(1), Is.EqualTo(Vector2Int.up));
|
|
||||||
Assert.That(Vector2Int.right.WithY(1), Is.EqualTo(Vector2Int.one));
|
|
||||||
Assert.That(Vector2Int.up.WithY(1), Is.EqualTo(Vector2Int.up));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ad987e96afa849e6b0626ba7d7720f7b
|
|
||||||
timeCreated: 1653993201
|
|
@ -1,127 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class Vector2Tests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldReturnCorrectValues()
|
|
||||||
{
|
|
||||||
var vector = new Vector2(1, 2);
|
|
||||||
(float x, float y) = vector;
|
|
||||||
|
|
||||||
Assert.That(x, Is.EqualTo(1));
|
|
||||||
Assert.That(y, Is.EqualTo(2));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearestInteger_GivenNoParameters()
|
|
||||||
{
|
|
||||||
var vector = new Vector2(1.5f, 2.6f);
|
|
||||||
var rounded = vector.Round();
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(2));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(3));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearest10_GivenPrecision10()
|
|
||||||
{
|
|
||||||
var vector = new Vector2(1.5f, 25.2f);
|
|
||||||
var rounded = vector.Round(10);
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(0));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(30));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemPointF_ShouldReturnPoint_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new Vector2(x, y);
|
|
||||||
var point = vector.ToSystemPointF();
|
|
||||||
|
|
||||||
Assert.That(point.X, Is.EqualTo(vector.x).Within(1e-6f));
|
|
||||||
Assert.That(point.Y, Is.EqualTo(vector.y).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemSizeF_ShouldReturnSize_WithEquivalentMembers()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new Vector2(x, y);
|
|
||||||
var point = vector.ToSystemSizeF();
|
|
||||||
|
|
||||||
Assert.That(point.Width, Is.EqualTo(vector.x).Within(1e-6f));
|
|
||||||
Assert.That(point.Height, Is.EqualTo(vector.y).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new Vector2(x, y);
|
|
||||||
var systemVector = vector.ToSystemVector();
|
|
||||||
|
|
||||||
Assert.That(systemVector.Length(), Is.EqualTo(vector.magnitude).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.X, Is.EqualTo(vector.x).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.Y, Is.EqualTo(vector.y).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new System.Numerics.Vector2(x, y);
|
|
||||||
var unityVector = vector.ToUnityVector();
|
|
||||||
|
|
||||||
Assert.That(unityVector.magnitude, Is.EqualTo(vector.Length()).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.x, Is.EqualTo(vector.X).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.y, Is.EqualTo(vector.Y).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithX_ShouldReturnVectorWithNewX_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector2.one.WithX(0), Is.EqualTo(Vector2.up));
|
|
||||||
Assert.That(Vector2.zero.WithX(0), Is.EqualTo(Vector2.zero));
|
|
||||||
Assert.That(Vector2.right.WithX(0), Is.EqualTo(Vector2.zero));
|
|
||||||
Assert.That(Vector2.up.WithX(0), Is.EqualTo(Vector2.up));
|
|
||||||
|
|
||||||
Assert.That(Vector2.one.WithX(1), Is.EqualTo(Vector2.one));
|
|
||||||
Assert.That(Vector2.zero.WithX(1), Is.EqualTo(Vector2.right));
|
|
||||||
Assert.That(Vector2.right.WithX(1), Is.EqualTo(Vector2.right));
|
|
||||||
Assert.That(Vector2.up.WithX(1), Is.EqualTo(Vector2.one));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithY_ShouldReturnVectorWithNewY_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector2.one.WithY(0), Is.EqualTo(Vector2.right));
|
|
||||||
Assert.That(Vector2.zero.WithY(0), Is.EqualTo(Vector2.zero));
|
|
||||||
Assert.That(Vector2.right.WithY(0), Is.EqualTo(Vector2.right));
|
|
||||||
Assert.That(Vector2.up.WithY(0), Is.EqualTo(Vector2.zero));
|
|
||||||
|
|
||||||
Assert.That(Vector2.one.WithY(1), Is.EqualTo(Vector2.one));
|
|
||||||
Assert.That(Vector2.zero.WithY(1), Is.EqualTo(Vector2.up));
|
|
||||||
Assert.That(Vector2.right.WithY(1), Is.EqualTo(Vector2.one));
|
|
||||||
Assert.That(Vector2.up.WithY(1), Is.EqualTo(Vector2.up));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 83385270996049569380ae9769ff1381
|
|
||||||
timeCreated: 1652088132
|
|
@ -1,69 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class Vector3IntTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldReturnCorrectValues()
|
|
||||||
{
|
|
||||||
var vector = new Vector3Int(1, 2, 3);
|
|
||||||
(float x, float y, float z) = vector;
|
|
||||||
|
|
||||||
Assert.That(x, Is.EqualTo(1));
|
|
||||||
Assert.That(y, Is.EqualTo(2));
|
|
||||||
Assert.That(z, Is.EqualTo(3));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithX_ShouldReturnVectorWithNewX_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3Int.one.WithX(0), Is.EqualTo(new Vector3Int(0, 1, 1)));
|
|
||||||
Assert.That(Vector3Int.zero.WithX(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
Assert.That(Vector3Int.right.WithX(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
Assert.That(Vector3Int.up.WithX(0), Is.EqualTo(Vector3Int.up));
|
|
||||||
Assert.That(Vector3Int.forward.WithX(0), Is.EqualTo(Vector3Int.forward));
|
|
||||||
|
|
||||||
Assert.That(Vector3Int.one.WithX(1), Is.EqualTo(Vector3Int.one));
|
|
||||||
Assert.That(Vector3Int.zero.WithX(1), Is.EqualTo(Vector3Int.right));
|
|
||||||
Assert.That(Vector3Int.right.WithX(1), Is.EqualTo(Vector3Int.right));
|
|
||||||
Assert.That(Vector3Int.up.WithX(1), Is.EqualTo(new Vector3Int(1, 1, 0)));
|
|
||||||
Assert.That(Vector3Int.forward.WithX(1), Is.EqualTo(new Vector3Int(1, 0, 1)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithY_ShouldReturnVectorWithNewY_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3Int.one.WithY(0), Is.EqualTo(new Vector3Int(1, 0, 1)));
|
|
||||||
Assert.That(Vector3Int.zero.WithY(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
Assert.That(Vector3Int.right.WithY(0), Is.EqualTo(Vector3Int.right));
|
|
||||||
Assert.That(Vector3Int.up.WithY(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
Assert.That(Vector3Int.forward.WithY(0), Is.EqualTo(Vector3Int.forward));
|
|
||||||
|
|
||||||
Assert.That(Vector3Int.one.WithY(1), Is.EqualTo(Vector3Int.one));
|
|
||||||
Assert.That(Vector3Int.zero.WithY(1), Is.EqualTo(Vector3Int.up));
|
|
||||||
Assert.That(Vector3Int.right.WithY(1), Is.EqualTo(new Vector3Int(1, 1, 0)));
|
|
||||||
Assert.That(Vector3Int.up.WithY(1), Is.EqualTo(Vector3Int.up));
|
|
||||||
Assert.That(Vector3Int.forward.WithY(1), Is.EqualTo(new Vector3Int(0, 1, 1)));
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithZ_ShouldReturnVectorWithNewZ_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3Int.one.WithZ(0), Is.EqualTo(new Vector3Int(1, 1, 0)));
|
|
||||||
Assert.That(Vector3Int.zero.WithZ(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
Assert.That(Vector3Int.right.WithZ(0), Is.EqualTo(Vector3Int.right));
|
|
||||||
Assert.That(Vector3Int.up.WithZ(0), Is.EqualTo(Vector3Int.up));
|
|
||||||
Assert.That(Vector3Int.forward.WithZ(0), Is.EqualTo(Vector3Int.zero));
|
|
||||||
|
|
||||||
Assert.That(Vector3Int.one.WithZ(1), Is.EqualTo(Vector3Int.one));
|
|
||||||
Assert.That(Vector3Int.zero.WithZ(1), Is.EqualTo(Vector3Int.forward));
|
|
||||||
Assert.That(Vector3Int.right.WithZ(1), Is.EqualTo(new Vector3Int(1, 0, 1)));
|
|
||||||
Assert.That(Vector3Int.up.WithZ(1), Is.EqualTo(new Vector3Int(0, 1, 1)));
|
|
||||||
Assert.That(Vector3Int.forward.WithZ(1), Is.EqualTo(Vector3Int.forward));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e474d98fd3ee48159980aaa88040cfb3
|
|
||||||
timeCreated: 1653993371
|
|
@ -1,126 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class Vector3Tests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldReturnCorrectValues()
|
|
||||||
{
|
|
||||||
var vector = new Vector3(1, 2, 3);
|
|
||||||
(float x, float y, float z) = vector;
|
|
||||||
|
|
||||||
Assert.That(x, Is.EqualTo(1));
|
|
||||||
Assert.That(y, Is.EqualTo(2));
|
|
||||||
Assert.That(z, Is.EqualTo(3));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearestInteger_GivenNoParameters()
|
|
||||||
{
|
|
||||||
var vector = new Vector3(1.5f, 2.6f, -5.2f);
|
|
||||||
var rounded = vector.Round();
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(2));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(3));
|
|
||||||
Assert.That(rounded.z, Is.EqualTo(-5));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearest10_GivenPrecision10()
|
|
||||||
{
|
|
||||||
var vector = new Vector3(1.5f, 25.2f, -12.5f);
|
|
||||||
var rounded = vector.Round(10);
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(0));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(30));
|
|
||||||
Assert.That(rounded.z, Is.EqualTo(-10));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new Vector3(x, y, z);
|
|
||||||
var systemVector = vector.ToSystemVector();
|
|
||||||
|
|
||||||
Assert.That(systemVector.Length(), Is.EqualTo(vector.magnitude).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.X, Is.EqualTo(vector.x).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.Y, Is.EqualTo(vector.y).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.Z, Is.EqualTo(vector.z).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new System.Numerics.Vector3(x, y, z);
|
|
||||||
var unityVector = vector.ToUnityVector();
|
|
||||||
|
|
||||||
Assert.That(unityVector.magnitude, Is.EqualTo(vector.Length()).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.x, Is.EqualTo(vector.X).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.y, Is.EqualTo(vector.Y).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.z, Is.EqualTo(vector.Z).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithX_ShouldReturnVectorWithNewX_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3.one.WithX(0), Is.EqualTo(new Vector3(0, 1, 1)));
|
|
||||||
Assert.That(Vector3.zero.WithX(0), Is.EqualTo(Vector3.zero));
|
|
||||||
Assert.That(Vector3.right.WithX(0), Is.EqualTo(Vector3.zero));
|
|
||||||
Assert.That(Vector3.up.WithX(0), Is.EqualTo(Vector3.up));
|
|
||||||
Assert.That(Vector3.forward.WithX(0), Is.EqualTo(Vector3.forward));
|
|
||||||
|
|
||||||
Assert.That(Vector3.one.WithX(1), Is.EqualTo(Vector3.one));
|
|
||||||
Assert.That(Vector3.zero.WithX(1), Is.EqualTo(Vector3.right));
|
|
||||||
Assert.That(Vector3.right.WithX(1), Is.EqualTo(Vector3.right));
|
|
||||||
Assert.That(Vector3.up.WithX(1), Is.EqualTo(new Vector3(1, 1, 0)));
|
|
||||||
Assert.That(Vector3.forward.WithX(1), Is.EqualTo(new Vector3(1, 0, 1)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithY_ShouldReturnVectorWithNewY_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3.one.WithY(0), Is.EqualTo(new Vector3(1, 0, 1)));
|
|
||||||
Assert.That(Vector3.zero.WithY(0), Is.EqualTo(Vector3.zero));
|
|
||||||
Assert.That(Vector3.right.WithY(0), Is.EqualTo(Vector3.right));
|
|
||||||
Assert.That(Vector3.up.WithY(0), Is.EqualTo(Vector3.zero));
|
|
||||||
Assert.That(Vector3.forward.WithY(0), Is.EqualTo(Vector3.forward));
|
|
||||||
|
|
||||||
Assert.That(Vector3.one.WithY(1), Is.EqualTo(Vector3.one));
|
|
||||||
Assert.That(Vector3.zero.WithY(1), Is.EqualTo(Vector3.up));
|
|
||||||
Assert.That(Vector3.right.WithY(1), Is.EqualTo(new Vector3(1, 1, 0)));
|
|
||||||
Assert.That(Vector3.up.WithY(1), Is.EqualTo(Vector3.up));
|
|
||||||
Assert.That(Vector3.forward.WithY(1), Is.EqualTo(new Vector3(0, 1, 1)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithZ_ShouldReturnVectorWithNewZ_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector3.one.WithZ(0), Is.EqualTo(new Vector3(1, 1, 0)));
|
|
||||||
Assert.That(Vector3.zero.WithZ(0), Is.EqualTo(Vector3.zero));
|
|
||||||
Assert.That(Vector3.right.WithZ(0), Is.EqualTo(Vector3.right));
|
|
||||||
Assert.That(Vector3.up.WithZ(0), Is.EqualTo(Vector3.up));
|
|
||||||
Assert.That(Vector3.forward.WithZ(0), Is.EqualTo(Vector3.zero));
|
|
||||||
|
|
||||||
Assert.That(Vector3.one.WithZ(1), Is.EqualTo(Vector3.one));
|
|
||||||
Assert.That(Vector3.zero.WithZ(1), Is.EqualTo(Vector3.forward));
|
|
||||||
Assert.That(Vector3.right.WithZ(1), Is.EqualTo(new Vector3(1, 0, 1)));
|
|
||||||
Assert.That(Vector3.up.WithZ(1), Is.EqualTo(new Vector3(0, 1, 1)));
|
|
||||||
Assert.That(Vector3.forward.WithZ(1), Is.EqualTo(Vector3.forward));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a00d613201bd497d91c9e98bca8dd6b1
|
|
||||||
timeCreated: 1652088132
|
|
@ -1,157 +0,0 @@
|
|||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using X10D.Core;
|
|
||||||
using X10D.Unity.Numerics;
|
|
||||||
using Random = System.Random;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests.Numerics
|
|
||||||
{
|
|
||||||
public class Vector4Tests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Deconstruct_ShouldReturnCorrectValues()
|
|
||||||
{
|
|
||||||
var vector = new Vector4(1, 2, 3, 4);
|
|
||||||
(float x, float y, float z, float w) = vector;
|
|
||||||
|
|
||||||
Assert.That(x, Is.EqualTo(1));
|
|
||||||
Assert.That(y, Is.EqualTo(2));
|
|
||||||
Assert.That(z, Is.EqualTo(3));
|
|
||||||
Assert.That(w, Is.EqualTo(4));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearestInteger_GivenNoParameters()
|
|
||||||
{
|
|
||||||
var vector = new Vector4(1.5f, 2.6f, -5.2f, 0.3f);
|
|
||||||
var rounded = vector.Round();
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(2));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(3));
|
|
||||||
Assert.That(rounded.z, Is.EqualTo(-5));
|
|
||||||
Assert.That(rounded.w, Is.EqualTo(0));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Round_ShouldRoundToNearest10_GivenPrecision10()
|
|
||||||
{
|
|
||||||
var vector = new Vector4(1.5f, 25.2f, -12.5f, 101.2f);
|
|
||||||
var rounded = vector.Round(10);
|
|
||||||
|
|
||||||
Assert.That(rounded.x, Is.EqualTo(0));
|
|
||||||
Assert.That(rounded.y, Is.EqualTo(30));
|
|
||||||
Assert.That(rounded.z, Is.EqualTo(-10));
|
|
||||||
Assert.That(rounded.w, Is.EqualTo(100));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToSystemVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
float w = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new Vector4(x, y, z, w);
|
|
||||||
var systemVector = vector.ToSystemVector();
|
|
||||||
|
|
||||||
Assert.That(systemVector.Length(), Is.EqualTo(vector.magnitude).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.X, Is.EqualTo(vector.x).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.Y, Is.EqualTo(vector.y).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.Z, Is.EqualTo(vector.z).Within(1e-6f));
|
|
||||||
Assert.That(systemVector.W, Is.EqualTo(vector.w).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void ToUnityVector_ShouldReturnVector_WithEqualComponents()
|
|
||||||
{
|
|
||||||
var random = new Random();
|
|
||||||
float x = random.NextSingle();
|
|
||||||
float y = random.NextSingle();
|
|
||||||
float z = random.NextSingle();
|
|
||||||
float w = random.NextSingle();
|
|
||||||
|
|
||||||
var vector = new System.Numerics.Vector4(x, y, z, w);
|
|
||||||
var unityVector = vector.ToUnityVector();
|
|
||||||
|
|
||||||
Assert.That(unityVector.magnitude, Is.EqualTo(vector.Length()).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.x, Is.EqualTo(vector.X).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.y, Is.EqualTo(vector.Y).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.z, Is.EqualTo(vector.Z).Within(1e-6f));
|
|
||||||
Assert.That(unityVector.w, Is.EqualTo(vector.W).Within(1e-6f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithW_ShouldReturnVectorWithNewW_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector4.one.WithW(0), Is.EqualTo(new Vector4(1, 1, 1, 0)));
|
|
||||||
Assert.That(Vector4.zero.WithW(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithW(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithW(0), Is.EqualTo(new Vector4(1, 0, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithW(0), Is.EqualTo(new Vector4(0, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithW(0), Is.EqualTo(new Vector4(0, 0, 1, 0)));
|
|
||||||
|
|
||||||
Assert.That(Vector4.one.WithW(1), Is.EqualTo(Vector4.one));
|
|
||||||
Assert.That(Vector4.zero.WithW(1), Is.EqualTo(new Vector4(0, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithW(1), Is.EqualTo(new Vector4(0, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithW(1), Is.EqualTo(new Vector4(1, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithW(1), Is.EqualTo(new Vector4(0, 1, 0, 1)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithW(1), Is.EqualTo(new Vector4(0, 0, 1, 1)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithX_ShouldReturnVectorWithNewX_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector4.one.WithX(0), Is.EqualTo(new Vector4(0, 1, 1, 1)));
|
|
||||||
Assert.That(Vector4.zero.WithX(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithX(0), Is.EqualTo(new Vector4(0, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithX(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithX(0), Is.EqualTo(new Vector4(0, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithX(0), Is.EqualTo(new Vector4(0, 0, 1, 0)));
|
|
||||||
|
|
||||||
Assert.That(Vector4.one.WithX(1), Is.EqualTo(Vector4.one));
|
|
||||||
Assert.That(Vector4.zero.WithX(1), Is.EqualTo(new Vector4(1, 0, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithX(1), Is.EqualTo(new Vector4(1, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithX(1), Is.EqualTo(new Vector4(1, 0, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithX(1), Is.EqualTo(new Vector4(1, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithX(1), Is.EqualTo(new Vector4(1, 0, 1, 0)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithY_ShouldReturnVectorWithNewY_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector4.one.WithY(0), Is.EqualTo(new Vector4(1, 0, 1, 1)));
|
|
||||||
Assert.That(Vector4.zero.WithY(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithY(0), Is.EqualTo(new Vector4(0, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithY(0), Is.EqualTo(new Vector4(1, 0, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithY(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithY(0), Is.EqualTo(new Vector4(0, 0, 1, 0)));
|
|
||||||
|
|
||||||
Assert.That(Vector4.one.WithY(1), Is.EqualTo(Vector4.one));
|
|
||||||
Assert.That(Vector4.zero.WithY(1), Is.EqualTo(new Vector4(0, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithY(1), Is.EqualTo(new Vector4(0, 1, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithY(1), Is.EqualTo(new Vector4(1, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithY(1), Is.EqualTo(new Vector4(0, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithY(1), Is.EqualTo(new Vector4(0, 1, 1, 0)));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void WithZ_ShouldReturnVectorWithNewZ_GivenVector()
|
|
||||||
{
|
|
||||||
Assert.That(Vector4.one.WithZ(0), Is.EqualTo(new Vector4(1, 1, 0, 1)));
|
|
||||||
Assert.That(Vector4.zero.WithZ(0), Is.EqualTo(Vector4.zero));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithZ(0), Is.EqualTo(new Vector4(0, 0, 0, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithZ(0), Is.EqualTo(new Vector4(1, 0, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithZ(0), Is.EqualTo(new Vector4(0, 1, 0, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithZ(0), Is.EqualTo(Vector4.zero));
|
|
||||||
|
|
||||||
Assert.That(Vector4.one.WithZ(1), Is.EqualTo(Vector4.one));
|
|
||||||
Assert.That(Vector4.zero.WithZ(1), Is.EqualTo(new Vector4(0, 0, 1, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 0, 1).WithZ(1), Is.EqualTo(new Vector4(0, 0, 1, 1)));
|
|
||||||
Assert.That(new Vector4(1, 0, 0, 0).WithZ(1), Is.EqualTo(new Vector4(1, 0, 1, 0)));
|
|
||||||
Assert.That(new Vector4(0, 1, 0, 0).WithZ(1), Is.EqualTo(new Vector4(0, 1, 1, 0)));
|
|
||||||
Assert.That(new Vector4(0, 0, 1, 0).WithZ(1), Is.EqualTo(new Vector4(0, 0, 1, 0)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0d487c2046a64354b199f4de01d57391
|
|
||||||
timeCreated: 1652088132
|
|
@ -1,43 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.TestTools;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class SingletonTests
|
|
||||||
{
|
|
||||||
[Test]
|
|
||||||
public void Singleton_ShouldReturnNewInstance_WhenNoInstanceExists()
|
|
||||||
{
|
|
||||||
TestBehaviour instance = Singleton<TestBehaviour>.Instance;
|
|
||||||
Assert.That(instance, Is.Not.Null);
|
|
||||||
Assert.That(instance.Flag);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void Singleton_ShouldReturnSameInstance_WhenAccessedTwice()
|
|
||||||
{
|
|
||||||
TestBehaviour instance = Singleton<TestBehaviour>.Instance;
|
|
||||||
Assert.That(instance, Is.Not.Null);
|
|
||||||
Assert.That(Singleton<TestBehaviour>.Instance, Is.EqualTo(instance));
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator Singleton_ShouldReturnNewInstance_WhenDestroyed()
|
|
||||||
{
|
|
||||||
TestBehaviour instance = Singleton<TestBehaviour>.Instance;
|
|
||||||
Assert.That(instance, Is.Not.Null);
|
|
||||||
Object.Destroy(instance);
|
|
||||||
|
|
||||||
yield return null;
|
|
||||||
|
|
||||||
Assert.IsFalse(instance);
|
|
||||||
|
|
||||||
// ReSharper disable once HeuristicUnreachableCode
|
|
||||||
instance = Singleton<TestBehaviour>.Instance;
|
|
||||||
Assert.That(instance, Is.Not.Null);
|
|
||||||
Assert.IsTrue(instance.Flag);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5c51198d124f40859bd9298d3241d5a6
|
|
||||||
timeCreated: 1652428949
|
|
@ -1,10 +0,0 @@
|
|||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
internal sealed class TestBehaviour : Singleton<TestBehaviour>
|
|
||||||
{
|
|
||||||
public bool Flag
|
|
||||||
{
|
|
||||||
get => true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: df932718d20948ecbe9b0de8aa7bbaf4
|
|
||||||
timeCreated: 1652428898
|
|
@ -1,59 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
|
|
||||||
using System.Collections;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.TestTools;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class TransformTests
|
|
||||||
{
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator LookAt_ShouldRotateSameAsTransform()
|
|
||||||
{
|
|
||||||
var first = new GameObject {transform = {position = Vector3.zero, rotation = Quaternion.identity}};
|
|
||||||
var second = new GameObject {transform = {position = Vector3.right, rotation = Quaternion.identity}};
|
|
||||||
Transform firstTransform = first.transform;
|
|
||||||
Transform secondTransform = second.transform;
|
|
||||||
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
Assert.That(secondTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
firstTransform.LookAt(secondTransform);
|
|
||||||
Quaternion expected = firstTransform.rotation;
|
|
||||||
|
|
||||||
firstTransform.rotation = Quaternion.identity;
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
firstTransform.LookAt(second);
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(expected));
|
|
||||||
|
|
||||||
firstTransform.rotation = Quaternion.identity;
|
|
||||||
Assert.That(firstTransform.rotation, Is.EqualTo(Quaternion.identity));
|
|
||||||
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator SetParent_ShouldSetParent()
|
|
||||||
{
|
|
||||||
var first = new GameObject {transform = {position = Vector3.zero, rotation = Quaternion.identity}};
|
|
||||||
var second = new GameObject {transform = {position = Vector3.right, rotation = Quaternion.identity}};
|
|
||||||
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(null));
|
|
||||||
Assert.That(second.transform.parent, Is.EqualTo(null));
|
|
||||||
|
|
||||||
first.transform.SetParent(second);
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(second.transform));
|
|
||||||
|
|
||||||
first.transform.SetParent(null!);
|
|
||||||
Assert.That(first.transform.parent, Is.EqualTo(null));
|
|
||||||
|
|
||||||
second.transform.SetParent(first);
|
|
||||||
Assert.That(second.transform.parent, Is.EqualTo(first.transform));
|
|
||||||
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1f1518cdf51546288b7a16369297be5e
|
|
||||||
timeCreated: 1652005981
|
|
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "X10D.Unity.Tests",
|
|
||||||
"rootNamespace": "X10D.Unity",
|
|
||||||
"references": [
|
|
||||||
"UnityEngine.TestRunner",
|
|
||||||
"UnityEditor.TestRunner"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": true,
|
|
||||||
"precompiledReferences": [
|
|
||||||
"nunit.framework.dll",
|
|
||||||
"X10D.dll",
|
|
||||||
"X10D.Unity.dll"
|
|
||||||
],
|
|
||||||
"autoReferenced": false,
|
|
||||||
"defineConstraints": [
|
|
||||||
"UNITY_INCLUDE_TESTS"
|
|
||||||
],
|
|
||||||
"versionDefines": [],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 34215b8a0b1faf64487ff72821603aad
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,36 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class YieldInstructionIntegrationTests : MonoBehaviour
|
|
||||||
{
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
StartCoroutine(CO_WaitForAnyKeyDown());
|
|
||||||
StartCoroutine(CO_WaitForSpaceKeyDown());
|
|
||||||
StartCoroutine(CO_WaitForSpaceKeyUp());
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator CO_WaitForAnyKeyDown()
|
|
||||||
{
|
|
||||||
Debug.Log("Waiting for any key to be pressed...");
|
|
||||||
yield return new WaitForKeyDown();
|
|
||||||
Debug.Log("Key was pressed!");
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator CO_WaitForSpaceKeyDown()
|
|
||||||
{
|
|
||||||
Debug.Log("Waiting for Space key to be pressed...");
|
|
||||||
yield return new WaitForKeyDown(KeyCode.Space);
|
|
||||||
Debug.Log("Space key was pressed!");
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator CO_WaitForSpaceKeyUp()
|
|
||||||
{
|
|
||||||
Debug.Log("Waiting for Space key to be released...");
|
|
||||||
yield return new WaitForKeyUp(KeyCode.Space);
|
|
||||||
Debug.Log("Space key was released!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 67d53e2f993d4a5ba0eb34431d1846cd
|
|
||||||
timeCreated: 1657791682
|
|
@ -1,52 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using NUnit.Framework;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.TestTools;
|
|
||||||
using UTime = UnityEngine.Time;
|
|
||||||
|
|
||||||
namespace X10D.Unity.Tests
|
|
||||||
{
|
|
||||||
public class YieldInstructionTests : MonoBehaviour
|
|
||||||
{
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator WaitForFrames_ShouldYieldCorrectNumberOfFrames()
|
|
||||||
{
|
|
||||||
int frameCount = UTime.frameCount;
|
|
||||||
yield return new WaitForFrames(10);
|
|
||||||
Assert.That(UTime.frameCount, Is.EqualTo(frameCount + 10), $"{frameCount + 10} == {UTime.frameCount}");
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator WaitForSecondsNoAlloc_ShouldYieldForCorrectTime()
|
|
||||||
{
|
|
||||||
float time = UTime.time;
|
|
||||||
yield return new WaitForSecondsNoAlloc(2);
|
|
||||||
Assert.That(UTime.time, Is.EqualTo(time + 2).Within(1e-2), $"{time + 2} == {UTime.time}");
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator WaitForSecondsRealtimeNoAlloc_ShouldYieldForCorrectTime()
|
|
||||||
{
|
|
||||||
float time = UTime.time;
|
|
||||||
yield return new WaitForSecondsRealtimeNoAlloc(2);
|
|
||||||
Assert.That(UTime.time, Is.EqualTo(time + 2).Within(1e-2), $"{time + 2} == {UTime.time}");
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator WaitForTimeSpan_ShouldYieldForCorrectTime()
|
|
||||||
{
|
|
||||||
float time = UTime.time;
|
|
||||||
yield return new WaitForTimeSpan(TimeSpan.FromSeconds(2.0));
|
|
||||||
Assert.That(UTime.time, Is.GreaterThanOrEqualTo(time + 2.0f).Or.GreaterThanOrEqualTo(time + 1.5f));
|
|
||||||
}
|
|
||||||
|
|
||||||
[UnityTest]
|
|
||||||
public IEnumerator WaitForTimeSpanRealtime_ShouldYieldForCorrectTime()
|
|
||||||
{
|
|
||||||
float time = UTime.time;
|
|
||||||
yield return new WaitForTimeSpanRealtime(TimeSpan.FromSeconds(2.0));
|
|
||||||
Assert.That(UTime.time, Is.EqualTo(time + 2).Within(1e-2), $"{time + 2} == {UTime.time}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d7d35eefdf5b43278a6f6aa268a71091
|
|
||||||
timeCreated: 1657795834
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.collab-proxy": "2.0.5",
|
|
||||||
"com.unity.feature.development": "1.0.1",
|
|
||||||
"com.unity.ide.rider": "3.0.24",
|
|
||||||
"com.unity.ide.visualstudio": "2.0.18",
|
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
|
||||||
"com.unity.test-framework": "1.1.33",
|
|
||||||
"com.unity.textmeshpro": "3.0.6",
|
|
||||||
"com.unity.timeline": "1.6.5",
|
|
||||||
"com.unity.toolchain.win-x86_64-linux-x86_64": "2.0.6",
|
|
||||||
"com.unity.ugui": "1.0.0",
|
|
||||||
"com.unity.visualscripting": "1.8.0",
|
|
||||||
"com.unity.modules.ai": "1.0.0",
|
|
||||||
"com.unity.modules.androidjni": "1.0.0",
|
|
||||||
"com.unity.modules.animation": "1.0.0",
|
|
||||||
"com.unity.modules.assetbundle": "1.0.0",
|
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.cloth": "1.0.0",
|
|
||||||
"com.unity.modules.director": "1.0.0",
|
|
||||||
"com.unity.modules.imageconversion": "1.0.0",
|
|
||||||
"com.unity.modules.imgui": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0",
|
|
||||||
"com.unity.modules.particlesystem": "1.0.0",
|
|
||||||
"com.unity.modules.physics": "1.0.0",
|
|
||||||
"com.unity.modules.physics2d": "1.0.0",
|
|
||||||
"com.unity.modules.screencapture": "1.0.0",
|
|
||||||
"com.unity.modules.terrain": "1.0.0",
|
|
||||||
"com.unity.modules.terrainphysics": "1.0.0",
|
|
||||||
"com.unity.modules.tilemap": "1.0.0",
|
|
||||||
"com.unity.modules.ui": "1.0.0",
|
|
||||||
"com.unity.modules.uielements": "1.0.0",
|
|
||||||
"com.unity.modules.umbra": "1.0.0",
|
|
||||||
"com.unity.modules.unityanalytics": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequestaudio": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequesttexture": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequestwww": "1.0.0",
|
|
||||||
"com.unity.modules.vehicles": "1.0.0",
|
|
||||||
"com.unity.modules.video": "1.0.0",
|
|
||||||
"com.unity.modules.vr": "1.0.0",
|
|
||||||
"com.unity.modules.wind": "1.0.0",
|
|
||||||
"com.unity.modules.xr": "1.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,419 +0,0 @@
|
|||||||
{
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.collab-proxy": {
|
|
||||||
"version": "2.0.5",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.editorcoroutines": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.ext.nunit": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.feature.development": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.ide.visualstudio": "2.0.18",
|
|
||||||
"com.unity.ide.rider": "3.0.24",
|
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
|
||||||
"com.unity.editorcoroutines": "1.0.0",
|
|
||||||
"com.unity.performance.profile-analyzer": "1.2.2",
|
|
||||||
"com.unity.test-framework": "1.1.33",
|
|
||||||
"com.unity.testtools.codecoverage": "1.2.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.ide.rider": {
|
|
||||||
"version": "3.0.24",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.ext.nunit": "1.0.6"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.ide.visualstudio": {
|
|
||||||
"version": "2.0.18",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.test-framework": "1.1.9"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.ide.vscode": {
|
|
||||||
"version": "1.2.5",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.performance.profile-analyzer": {
|
|
||||||
"version": "1.2.2",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.settings-manager": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"depth": 2,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.sysroot": {
|
|
||||||
"version": "2.0.7",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.sysroot.linux-x86_64": {
|
|
||||||
"version": "2.0.6",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.sysroot": "2.0.7"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.test-framework": {
|
|
||||||
"version": "1.1.33",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.ext.nunit": "1.0.6",
|
|
||||||
"com.unity.modules.imgui": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.testtools.codecoverage": {
|
|
||||||
"version": "1.2.4",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.test-framework": "1.0.16",
|
|
||||||
"com.unity.settings-manager": "1.0.1"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.textmeshpro": {
|
|
||||||
"version": "3.0.6",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.ugui": "1.0.0"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.timeline": {
|
|
||||||
"version": "1.6.5",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.director": "1.0.0",
|
|
||||||
"com.unity.modules.animation": "1.0.0",
|
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.particlesystem": "1.0.0"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.toolchain.win-x86_64-linux-x86_64": {
|
|
||||||
"version": "2.0.6",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.sysroot": "2.0.7",
|
|
||||||
"com.unity.sysroot.linux-x86_64": "2.0.6"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.ugui": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.ui": "1.0.0",
|
|
||||||
"com.unity.modules.imgui": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.visualscripting": {
|
|
||||||
"version": "1.8.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.ugui": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.modules.ai": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.androidjni": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.animation": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.assetbundle": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.audio": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.cloth": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.physics": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.director": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.animation": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.imageconversion": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.imgui": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.jsonserialize": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.particlesystem": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.physics": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.physics2d": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.screencapture": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.imageconversion": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.subsystems": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.terrain": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.terrainphysics": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.physics": "1.0.0",
|
|
||||||
"com.unity.modules.terrain": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.tilemap": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.physics2d": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.ui": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.uielements": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.ui": "1.0.0",
|
|
||||||
"com.unity.modules.imgui": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0",
|
|
||||||
"com.unity.modules.uielementsnative": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.uielementsnative": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 1,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.ui": "1.0.0",
|
|
||||||
"com.unity.modules.imgui": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.umbra": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unityanalytics": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unitywebrequest": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unitywebrequestassetbundle": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.assetbundle": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unitywebrequestaudio": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
||||||
"com.unity.modules.audio": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unitywebrequesttexture": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
||||||
"com.unity.modules.imageconversion": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.unitywebrequestwww": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequestaudio": "1.0.0",
|
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.assetbundle": "1.0.0",
|
|
||||||
"com.unity.modules.imageconversion": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.vehicles": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.physics": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.video": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.audio": "1.0.0",
|
|
||||||
"com.unity.modules.ui": "1.0.0",
|
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.vr": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0",
|
|
||||||
"com.unity.modules.physics": "1.0.0",
|
|
||||||
"com.unity.modules.xr": "1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"com.unity.modules.wind": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {}
|
|
||||||
},
|
|
||||||
"com.unity.modules.xr": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "builtin",
|
|
||||||
"dependencies": {
|
|
||||||
"com.unity.modules.physics": "1.0.0",
|
|
||||||
"com.unity.modules.jsonserialize": "1.0.0",
|
|
||||||
"com.unity.modules.subsystems": "1.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!11 &1
|
|
||||||
AudioManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Volume: 1
|
|
||||||
Rolloff Scale: 1
|
|
||||||
Doppler Factor: 1
|
|
||||||
Default Speaker Mode: 2
|
|
||||||
m_SampleRate: 0
|
|
||||||
m_DSPBufferSize: 1024
|
|
||||||
m_VirtualVoiceCount: 512
|
|
||||||
m_RealVoiceCount: 32
|
|
||||||
m_SpatializerPlugin:
|
|
||||||
m_AmbisonicDecoderPlugin:
|
|
||||||
m_DisableAudio: 0
|
|
||||||
m_VirtualizeEffects: 1
|
|
||||||
m_RequestedDSPBufferSize: 1024
|
|
@ -1,6 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!236 &1
|
|
||||||
ClusterInputManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_Inputs: []
|
|
@ -1,34 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!55 &1
|
|
||||||
PhysicsManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 11
|
|
||||||
m_Gravity: {x: 0, y: -9.81, z: 0}
|
|
||||||
m_DefaultMaterial: {fileID: 0}
|
|
||||||
m_BounceThreshold: 2
|
|
||||||
m_SleepThreshold: 0.005
|
|
||||||
m_DefaultContactOffset: 0.01
|
|
||||||
m_DefaultSolverIterations: 6
|
|
||||||
m_DefaultSolverVelocityIterations: 1
|
|
||||||
m_QueriesHitBackfaces: 0
|
|
||||||
m_QueriesHitTriggers: 1
|
|
||||||
m_EnableAdaptiveForce: 0
|
|
||||||
m_ClothInterCollisionDistance: 0
|
|
||||||
m_ClothInterCollisionStiffness: 0
|
|
||||||
m_ContactsGeneration: 1
|
|
||||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
||||||
m_AutoSimulation: 1
|
|
||||||
m_AutoSyncTransforms: 0
|
|
||||||
m_ReuseCollisionCallbacks: 1
|
|
||||||
m_ClothInterCollisionSettingsToggle: 0
|
|
||||||
m_ContactPairsMode: 0
|
|
||||||
m_BroadphaseType: 0
|
|
||||||
m_WorldBounds:
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
m_Extent: {x: 250, y: 250, z: 250}
|
|
||||||
m_WorldSubdivisions: 8
|
|
||||||
m_FrictionType: 0
|
|
||||||
m_EnableEnhancedDeterminism: 0
|
|
||||||
m_EnableUnifiedHeightmaps: 1
|
|
||||||
m_DefaultMaxAngluarSpeed: 7
|
|
@ -1,8 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1045 &1
|
|
||||||
EditorBuildSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Scenes: []
|
|
||||||
m_configObjects: {}
|
|
@ -1,30 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!159 &1
|
|
||||||
EditorSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 11
|
|
||||||
m_ExternalVersionControlSupport: Visible Meta Files
|
|
||||||
m_SerializationMode: 2
|
|
||||||
m_LineEndingsForNewScripts: 0
|
|
||||||
m_DefaultBehaviorMode: 0
|
|
||||||
m_PrefabRegularEnvironment: {fileID: 0}
|
|
||||||
m_PrefabUIEnvironment: {fileID: 0}
|
|
||||||
m_SpritePackerMode: 0
|
|
||||||
m_SpritePackerPaddingPower: 1
|
|
||||||
m_EtcTextureCompressorBehavior: 1
|
|
||||||
m_EtcTextureFastCompressor: 1
|
|
||||||
m_EtcTextureNormalCompressor: 2
|
|
||||||
m_EtcTextureBestCompressor: 4
|
|
||||||
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
|
|
||||||
m_ProjectGenerationRootNamespace:
|
|
||||||
m_CollabEditorSettings:
|
|
||||||
inProgressEnabled: 1
|
|
||||||
m_EnableTextureStreamingInEditMode: 1
|
|
||||||
m_EnableTextureStreamingInPlayMode: 1
|
|
||||||
m_AsyncShaderCompilation: 1
|
|
||||||
m_EnterPlayModeOptionsEnabled: 0
|
|
||||||
m_EnterPlayModeOptions: 3
|
|
||||||
m_ShowLightmapResolutionOverlay: 1
|
|
||||||
m_UseLegacyProbeSampleCount: 0
|
|
||||||
m_SerializeInlineMappingsOnOneLine: 1
|
|
@ -1,63 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!30 &1
|
|
||||||
GraphicsSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 13
|
|
||||||
m_Deferred:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_DeferredReflections:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ScreenSpaceShadows:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_LegacyDeferred:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_DepthNormals:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_MotionVectors:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_LightHalo:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_LensFlare:
|
|
||||||
m_Mode: 1
|
|
||||||
m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_AlwaysIncludedShaders:
|
|
||||||
- {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
- {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
- {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
- {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_PreloadedShaders: []
|
|
||||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_CustomRenderPipeline: {fileID: 0}
|
|
||||||
m_TransparencySortMode: 0
|
|
||||||
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
|
||||||
m_DefaultRenderingPath: 1
|
|
||||||
m_DefaultMobileRenderingPath: 1
|
|
||||||
m_TierSettings: []
|
|
||||||
m_LightmapStripping: 0
|
|
||||||
m_FogStripping: 0
|
|
||||||
m_InstancingStripping: 0
|
|
||||||
m_LightmapKeepPlain: 1
|
|
||||||
m_LightmapKeepDirCombined: 1
|
|
||||||
m_LightmapKeepDynamicPlain: 1
|
|
||||||
m_LightmapKeepDynamicDirCombined: 1
|
|
||||||
m_LightmapKeepShadowMask: 1
|
|
||||||
m_LightmapKeepSubtractive: 1
|
|
||||||
m_FogKeepLinear: 1
|
|
||||||
m_FogKeepExp: 1
|
|
||||||
m_FogKeepExp2: 1
|
|
||||||
m_AlbedoSwatchInfos: []
|
|
||||||
m_LightsUseLinearIntensity: 0
|
|
||||||
m_LightsUseColorTemperature: 0
|
|
||||||
m_LogWhenShaderIsCompiled: 0
|
|
||||||
m_AllowEnlightenSupportForUpgradedProject: 0
|
|
@ -1,295 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!13 &1
|
|
||||||
InputManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Axes:
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Horizontal
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton: left
|
|
||||||
positiveButton: right
|
|
||||||
altNegativeButton: a
|
|
||||||
altPositiveButton: d
|
|
||||||
gravity: 3
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 3
|
|
||||||
snap: 1
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Vertical
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton: down
|
|
||||||
positiveButton: up
|
|
||||||
altNegativeButton: s
|
|
||||||
altPositiveButton: w
|
|
||||||
gravity: 3
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 3
|
|
||||||
snap: 1
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire1
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: left ctrl
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: mouse 0
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire2
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: left alt
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: mouse 1
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire3
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: left shift
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: mouse 2
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Jump
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: space
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Mouse X
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton:
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 0
|
|
||||||
dead: 0
|
|
||||||
sensitivity: 0.1
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 1
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Mouse Y
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton:
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 0
|
|
||||||
dead: 0
|
|
||||||
sensitivity: 0.1
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 1
|
|
||||||
axis: 1
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Mouse ScrollWheel
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton:
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 0
|
|
||||||
dead: 0
|
|
||||||
sensitivity: 0.1
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 1
|
|
||||||
axis: 2
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Horizontal
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton:
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 0
|
|
||||||
dead: 0.19
|
|
||||||
sensitivity: 1
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 2
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Vertical
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton:
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 0
|
|
||||||
dead: 0.19
|
|
||||||
sensitivity: 1
|
|
||||||
snap: 0
|
|
||||||
invert: 1
|
|
||||||
type: 2
|
|
||||||
axis: 1
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire1
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: joystick button 0
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire2
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: joystick button 1
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Fire3
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: joystick button 2
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Jump
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: joystick button 3
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton:
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Submit
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: return
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: joystick button 0
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Submit
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: enter
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: space
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
m_Name: Cancel
|
|
||||||
descriptiveName:
|
|
||||||
descriptiveNegativeName:
|
|
||||||
negativeButton:
|
|
||||||
positiveButton: escape
|
|
||||||
altNegativeButton:
|
|
||||||
altPositiveButton: joystick button 1
|
|
||||||
gravity: 1000
|
|
||||||
dead: 0.001
|
|
||||||
sensitivity: 1000
|
|
||||||
snap: 0
|
|
||||||
invert: 0
|
|
||||||
type: 0
|
|
||||||
axis: 0
|
|
||||||
joyNum: 0
|
|
@ -1,35 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!387306366 &1
|
|
||||||
MemorySettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_EditorMemorySettings:
|
|
||||||
m_MainAllocatorBlockSize: -1
|
|
||||||
m_ThreadAllocatorBlockSize: -1
|
|
||||||
m_MainGfxBlockSize: -1
|
|
||||||
m_ThreadGfxBlockSize: -1
|
|
||||||
m_CacheBlockSize: -1
|
|
||||||
m_TypetreeBlockSize: -1
|
|
||||||
m_ProfilerBlockSize: -1
|
|
||||||
m_ProfilerEditorBlockSize: -1
|
|
||||||
m_BucketAllocatorGranularity: -1
|
|
||||||
m_BucketAllocatorBucketsCount: -1
|
|
||||||
m_BucketAllocatorBlockSize: -1
|
|
||||||
m_BucketAllocatorBlockCount: -1
|
|
||||||
m_ProfilerBucketAllocatorGranularity: -1
|
|
||||||
m_ProfilerBucketAllocatorBucketsCount: -1
|
|
||||||
m_ProfilerBucketAllocatorBlockSize: -1
|
|
||||||
m_ProfilerBucketAllocatorBlockCount: -1
|
|
||||||
m_TempAllocatorSizeMain: -1
|
|
||||||
m_JobTempAllocatorBlockSize: -1
|
|
||||||
m_BackgroundJobTempAllocatorBlockSize: -1
|
|
||||||
m_JobTempAllocatorReducedBlockSize: -1
|
|
||||||
m_TempAllocatorSizeGIBakingWorker: -1
|
|
||||||
m_TempAllocatorSizeNavMeshWorker: -1
|
|
||||||
m_TempAllocatorSizeAudioWorker: -1
|
|
||||||
m_TempAllocatorSizeCloudWorker: -1
|
|
||||||
m_TempAllocatorSizeGfx: -1
|
|
||||||
m_TempAllocatorSizeJobWorker: -1
|
|
||||||
m_TempAllocatorSizeBackgroundWorker: -1
|
|
||||||
m_TempAllocatorSizePreloadManager: -1
|
|
||||||
m_PlatformMemorySettings: {}
|
|
@ -1,91 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!126 &1
|
|
||||||
NavMeshProjectSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
areas:
|
|
||||||
- name: Walkable
|
|
||||||
cost: 1
|
|
||||||
- name: Not Walkable
|
|
||||||
cost: 1
|
|
||||||
- name: Jump
|
|
||||||
cost: 2
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
- name:
|
|
||||||
cost: 1
|
|
||||||
m_LastAgentTypeID: -887442657
|
|
||||||
m_Settings:
|
|
||||||
- serializedVersion: 2
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.75
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
accuratePlacement: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_SettingNames:
|
|
||||||
- Humanoid
|
|
@ -1,35 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &1
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 61
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_EnablePreReleasePackages: 0
|
|
||||||
m_EnablePackageDependencies: 0
|
|
||||||
m_AdvancedSettingsExpanded: 1
|
|
||||||
m_ScopedRegistriesSettingsExpanded: 1
|
|
||||||
m_SeeAllPackageVersions: 0
|
|
||||||
oneTimeWarningShown: 0
|
|
||||||
m_Registries:
|
|
||||||
- m_Id: main
|
|
||||||
m_Name:
|
|
||||||
m_Url: https://packages.unity.com
|
|
||||||
m_Scopes: []
|
|
||||||
m_IsDefault: 1
|
|
||||||
m_Capabilities: 7
|
|
||||||
m_UserSelectedRegistryName:
|
|
||||||
m_UserAddingNewScopedRegistry: 0
|
|
||||||
m_RegistryInfoDraft:
|
|
||||||
m_Modified: 0
|
|
||||||
m_ErrorMessage:
|
|
||||||
m_UserModificationsInstanceId: -830
|
|
||||||
m_OriginalInstanceId: -832
|
|
||||||
m_LoadAssets: 0
|
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"m_Name": "Settings",
|
|
||||||
"m_Path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
|
|
||||||
"m_Dictionary": {
|
|
||||||
"m_DictionaryValues": []
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!19 &1
|
|
||||||
Physics2DSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Gravity: {x: 0, y: -9.81}
|
|
||||||
m_DefaultMaterial: {fileID: 0}
|
|
||||||
m_VelocityIterations: 8
|
|
||||||
m_PositionIterations: 3
|
|
||||||
m_VelocityThreshold: 1
|
|
||||||
m_MaxLinearCorrection: 0.2
|
|
||||||
m_MaxAngularCorrection: 8
|
|
||||||
m_MaxTranslationSpeed: 100
|
|
||||||
m_MaxRotationSpeed: 360
|
|
||||||
m_BaumgarteScale: 0.2
|
|
||||||
m_BaumgarteTimeOfImpactScale: 0.75
|
|
||||||
m_TimeToSleep: 0.5
|
|
||||||
m_LinearSleepTolerance: 0.01
|
|
||||||
m_AngularSleepTolerance: 2
|
|
||||||
m_DefaultContactOffset: 0.01
|
|
||||||
m_JobOptions:
|
|
||||||
serializedVersion: 2
|
|
||||||
useMultithreading: 0
|
|
||||||
useConsistencySorting: 0
|
|
||||||
m_InterpolationPosesPerJob: 100
|
|
||||||
m_NewContactsPerJob: 30
|
|
||||||
m_CollideContactsPerJob: 100
|
|
||||||
m_ClearFlagsPerJob: 200
|
|
||||||
m_ClearBodyForcesPerJob: 200
|
|
||||||
m_SyncDiscreteFixturesPerJob: 50
|
|
||||||
m_SyncContinuousFixturesPerJob: 50
|
|
||||||
m_FindNearestContactsPerJob: 100
|
|
||||||
m_UpdateTriggerContactsPerJob: 100
|
|
||||||
m_IslandSolverCostThreshold: 100
|
|
||||||
m_IslandSolverBodyCostScale: 1
|
|
||||||
m_IslandSolverContactCostScale: 10
|
|
||||||
m_IslandSolverJointCostScale: 10
|
|
||||||
m_IslandSolverBodiesPerJob: 50
|
|
||||||
m_IslandSolverContactsPerJob: 50
|
|
||||||
m_AutoSimulation: 1
|
|
||||||
m_QueriesHitTriggers: 1
|
|
||||||
m_QueriesStartInColliders: 1
|
|
||||||
m_CallbacksOnDisable: 1
|
|
||||||
m_ReuseCollisionCallbacks: 1
|
|
||||||
m_AutoSyncTransforms: 0
|
|
||||||
m_AlwaysShowColliders: 0
|
|
||||||
m_ShowColliderSleep: 1
|
|
||||||
m_ShowColliderContacts: 0
|
|
||||||
m_ShowColliderAABB: 0
|
|
||||||
m_ContactArrowScale: 0.2
|
|
||||||
m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
|
|
||||||
m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
|
|
||||||
m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
|
|
||||||
m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
|
|
||||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
@ -1,7 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1386491679 &1
|
|
||||||
PresetManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_DefaultPresets: {}
|
|
@ -1,708 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!129 &1
|
|
||||||
PlayerSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 23
|
|
||||||
productGUID: a5313041f8a8e9240a746c81c45bc60b
|
|
||||||
AndroidProfiler: 0
|
|
||||||
AndroidFilterTouchesWhenObscured: 0
|
|
||||||
AndroidEnableSustainedPerformanceMode: 0
|
|
||||||
defaultScreenOrientation: 4
|
|
||||||
targetDevice: 2
|
|
||||||
useOnDemandResources: 0
|
|
||||||
accelerometerFrequency: 60
|
|
||||||
companyName: DefaultCompany
|
|
||||||
productName: X10D.Unity.Tests
|
|
||||||
defaultCursor: {fileID: 0}
|
|
||||||
cursorHotspot: {x: 0, y: 0}
|
|
||||||
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
|
|
||||||
m_ShowUnitySplashScreen: 1
|
|
||||||
m_ShowUnitySplashLogo: 1
|
|
||||||
m_SplashScreenOverlayOpacity: 1
|
|
||||||
m_SplashScreenAnimation: 1
|
|
||||||
m_SplashScreenLogoStyle: 1
|
|
||||||
m_SplashScreenDrawMode: 0
|
|
||||||
m_SplashScreenBackgroundAnimationZoom: 1
|
|
||||||
m_SplashScreenLogoAnimationZoom: 1
|
|
||||||
m_SplashScreenBackgroundLandscapeAspect: 1
|
|
||||||
m_SplashScreenBackgroundPortraitAspect: 1
|
|
||||||
m_SplashScreenBackgroundLandscapeUvs:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
m_SplashScreenBackgroundPortraitUvs:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
m_SplashScreenLogos: []
|
|
||||||
m_VirtualRealitySplashScreen: {fileID: 0}
|
|
||||||
m_HolographicTrackingLossScreen: {fileID: 0}
|
|
||||||
defaultScreenWidth: 1920
|
|
||||||
defaultScreenHeight: 1080
|
|
||||||
defaultScreenWidthWeb: 960
|
|
||||||
defaultScreenHeightWeb: 600
|
|
||||||
m_StereoRenderingPath: 0
|
|
||||||
m_ActiveColorSpace: 0
|
|
||||||
m_MTRendering: 1
|
|
||||||
mipStripping: 0
|
|
||||||
numberOfMipsStripped: 0
|
|
||||||
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
|
|
||||||
iosShowActivityIndicatorOnLoading: -1
|
|
||||||
androidShowActivityIndicatorOnLoading: -1
|
|
||||||
iosUseCustomAppBackgroundBehavior: 0
|
|
||||||
iosAllowHTTPDownload: 1
|
|
||||||
allowedAutorotateToPortrait: 1
|
|
||||||
allowedAutorotateToPortraitUpsideDown: 1
|
|
||||||
allowedAutorotateToLandscapeRight: 1
|
|
||||||
allowedAutorotateToLandscapeLeft: 1
|
|
||||||
useOSAutorotation: 1
|
|
||||||
use32BitDisplayBuffer: 1
|
|
||||||
preserveFramebufferAlpha: 0
|
|
||||||
disableDepthAndStencilBuffers: 0
|
|
||||||
androidStartInFullscreen: 1
|
|
||||||
androidRenderOutsideSafeArea: 1
|
|
||||||
androidUseSwappy: 1
|
|
||||||
androidBlitType: 0
|
|
||||||
androidResizableWindow: 0
|
|
||||||
androidDefaultWindowWidth: 1920
|
|
||||||
androidDefaultWindowHeight: 1080
|
|
||||||
androidMinimumWindowWidth: 400
|
|
||||||
androidMinimumWindowHeight: 300
|
|
||||||
androidFullscreenMode: 1
|
|
||||||
defaultIsNativeResolution: 1
|
|
||||||
macRetinaSupport: 1
|
|
||||||
runInBackground: 1
|
|
||||||
captureSingleScreen: 0
|
|
||||||
muteOtherAudioSources: 0
|
|
||||||
Prepare IOS For Recording: 0
|
|
||||||
Force IOS Speakers When Recording: 0
|
|
||||||
deferSystemGesturesMode: 0
|
|
||||||
hideHomeButton: 0
|
|
||||||
submitAnalytics: 1
|
|
||||||
usePlayerLog: 1
|
|
||||||
bakeCollisionMeshes: 0
|
|
||||||
forceSingleInstance: 0
|
|
||||||
useFlipModelSwapchain: 1
|
|
||||||
resizableWindow: 0
|
|
||||||
useMacAppStoreValidation: 0
|
|
||||||
macAppStoreCategory: public.app-category.games
|
|
||||||
gpuSkinning: 1
|
|
||||||
xboxPIXTextureCapture: 0
|
|
||||||
xboxEnableAvatar: 0
|
|
||||||
xboxEnableKinect: 0
|
|
||||||
xboxEnableKinectAutoTracking: 0
|
|
||||||
xboxEnableFitness: 0
|
|
||||||
visibleInBackground: 1
|
|
||||||
allowFullscreenSwitch: 1
|
|
||||||
fullscreenMode: 1
|
|
||||||
xboxSpeechDB: 0
|
|
||||||
xboxEnableHeadOrientation: 0
|
|
||||||
xboxEnableGuest: 0
|
|
||||||
xboxEnablePIXSampling: 0
|
|
||||||
metalFramebufferOnly: 0
|
|
||||||
xboxOneResolution: 0
|
|
||||||
xboxOneSResolution: 0
|
|
||||||
xboxOneXResolution: 3
|
|
||||||
xboxOneMonoLoggingLevel: 0
|
|
||||||
xboxOneLoggingLevel: 1
|
|
||||||
xboxOneDisableEsram: 0
|
|
||||||
xboxOneEnableTypeOptimization: 0
|
|
||||||
xboxOnePresentImmediateThreshold: 0
|
|
||||||
switchQueueCommandMemory: 0
|
|
||||||
switchQueueControlMemory: 16384
|
|
||||||
switchQueueComputeMemory: 262144
|
|
||||||
switchNVNShaderPoolsGranularity: 33554432
|
|
||||||
switchNVNDefaultPoolsGranularity: 16777216
|
|
||||||
switchNVNOtherPoolsGranularity: 16777216
|
|
||||||
switchNVNMaxPublicTextureIDCount: 0
|
|
||||||
switchNVNMaxPublicSamplerIDCount: 0
|
|
||||||
stadiaPresentMode: 0
|
|
||||||
stadiaTargetFramerate: 0
|
|
||||||
vulkanNumSwapchainBuffers: 3
|
|
||||||
vulkanEnableSetSRGBWrite: 0
|
|
||||||
vulkanEnablePreTransform: 1
|
|
||||||
vulkanEnableLateAcquireNextImage: 0
|
|
||||||
vulkanEnableCommandBufferRecycling: 1
|
|
||||||
m_SupportedAspectRatios:
|
|
||||||
4:3: 1
|
|
||||||
5:4: 1
|
|
||||||
16:10: 1
|
|
||||||
16:9: 1
|
|
||||||
Others: 1
|
|
||||||
bundleVersion: 0.1
|
|
||||||
preloadedAssets: []
|
|
||||||
metroInputSource: 0
|
|
||||||
wsaTransparentSwapchain: 0
|
|
||||||
m_HolographicPauseOnTrackingLoss: 1
|
|
||||||
xboxOneDisableKinectGpuReservation: 1
|
|
||||||
xboxOneEnable7thCore: 1
|
|
||||||
vrSettings:
|
|
||||||
enable360StereoCapture: 0
|
|
||||||
isWsaHolographicRemotingEnabled: 0
|
|
||||||
enableFrameTimingStats: 0
|
|
||||||
useHDRDisplay: 0
|
|
||||||
D3DHDRBitDepth: 0
|
|
||||||
m_ColorGamuts: 00000000
|
|
||||||
targetPixelDensity: 30
|
|
||||||
resolutionScalingMode: 0
|
|
||||||
androidSupportedAspectRatio: 1
|
|
||||||
androidMaxAspectRatio: 2.1
|
|
||||||
applicationIdentifier: {}
|
|
||||||
buildNumber:
|
|
||||||
Standalone: 0
|
|
||||||
iPhone: 0
|
|
||||||
tvOS: 0
|
|
||||||
overrideDefaultApplicationIdentifier: 0
|
|
||||||
AndroidBundleVersionCode: 1
|
|
||||||
AndroidMinSdkVersion: 22
|
|
||||||
AndroidTargetSdkVersion: 0
|
|
||||||
AndroidPreferredInstallLocation: 1
|
|
||||||
aotOptions:
|
|
||||||
stripEngineCode: 1
|
|
||||||
iPhoneStrippingLevel: 0
|
|
||||||
iPhoneScriptCallOptimization: 0
|
|
||||||
ForceInternetPermission: 0
|
|
||||||
ForceSDCardPermission: 0
|
|
||||||
CreateWallpaper: 0
|
|
||||||
APKExpansionFiles: 0
|
|
||||||
keepLoadedShadersAlive: 0
|
|
||||||
StripUnusedMeshComponents: 1
|
|
||||||
VertexChannelCompressionMask: 4054
|
|
||||||
iPhoneSdkVersion: 988
|
|
||||||
iOSTargetOSVersionString: 11.0
|
|
||||||
tvOSSdkVersion: 0
|
|
||||||
tvOSRequireExtendedGameController: 0
|
|
||||||
tvOSTargetOSVersionString: 11.0
|
|
||||||
uIPrerenderedIcon: 0
|
|
||||||
uIRequiresPersistentWiFi: 0
|
|
||||||
uIRequiresFullScreen: 1
|
|
||||||
uIStatusBarHidden: 1
|
|
||||||
uIExitOnSuspend: 0
|
|
||||||
uIStatusBarStyle: 0
|
|
||||||
appleTVSplashScreen: {fileID: 0}
|
|
||||||
appleTVSplashScreen2x: {fileID: 0}
|
|
||||||
tvOSSmallIconLayers: []
|
|
||||||
tvOSSmallIconLayers2x: []
|
|
||||||
tvOSLargeIconLayers: []
|
|
||||||
tvOSLargeIconLayers2x: []
|
|
||||||
tvOSTopShelfImageLayers: []
|
|
||||||
tvOSTopShelfImageLayers2x: []
|
|
||||||
tvOSTopShelfImageWideLayers: []
|
|
||||||
tvOSTopShelfImageWideLayers2x: []
|
|
||||||
iOSLaunchScreenType: 0
|
|
||||||
iOSLaunchScreenPortrait: {fileID: 0}
|
|
||||||
iOSLaunchScreenLandscape: {fileID: 0}
|
|
||||||
iOSLaunchScreenBackgroundColor:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 0
|
|
||||||
iOSLaunchScreenFillPct: 100
|
|
||||||
iOSLaunchScreenSize: 100
|
|
||||||
iOSLaunchScreenCustomXibPath:
|
|
||||||
iOSLaunchScreeniPadType: 0
|
|
||||||
iOSLaunchScreeniPadImage: {fileID: 0}
|
|
||||||
iOSLaunchScreeniPadBackgroundColor:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 0
|
|
||||||
iOSLaunchScreeniPadFillPct: 100
|
|
||||||
iOSLaunchScreeniPadSize: 100
|
|
||||||
iOSLaunchScreeniPadCustomXibPath:
|
|
||||||
iOSLaunchScreenCustomStoryboardPath:
|
|
||||||
iOSLaunchScreeniPadCustomStoryboardPath:
|
|
||||||
iOSDeviceRequirements: []
|
|
||||||
iOSURLSchemes: []
|
|
||||||
macOSURLSchemes: []
|
|
||||||
iOSBackgroundModes: 0
|
|
||||||
iOSMetalForceHardShadows: 0
|
|
||||||
metalEditorSupport: 1
|
|
||||||
metalAPIValidation: 1
|
|
||||||
iOSRenderExtraFrameOnPause: 0
|
|
||||||
iosCopyPluginsCodeInsteadOfSymlink: 0
|
|
||||||
appleDeveloperTeamID:
|
|
||||||
iOSManualSigningProvisioningProfileID:
|
|
||||||
tvOSManualSigningProvisioningProfileID:
|
|
||||||
iOSManualSigningProvisioningProfileType: 0
|
|
||||||
tvOSManualSigningProvisioningProfileType: 0
|
|
||||||
appleEnableAutomaticSigning: 0
|
|
||||||
iOSRequireARKit: 0
|
|
||||||
iOSAutomaticallyDetectAndAddCapabilities: 1
|
|
||||||
appleEnableProMotion: 0
|
|
||||||
shaderPrecisionModel: 0
|
|
||||||
clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
|
|
||||||
templatePackageId: com.unity.template.3d@8.1.0
|
|
||||||
templateDefaultScene: Assets/Scenes/SampleScene.unity
|
|
||||||
useCustomMainManifest: 0
|
|
||||||
useCustomLauncherManifest: 0
|
|
||||||
useCustomMainGradleTemplate: 0
|
|
||||||
useCustomLauncherGradleManifest: 0
|
|
||||||
useCustomBaseGradleTemplate: 0
|
|
||||||
useCustomGradlePropertiesTemplate: 0
|
|
||||||
useCustomProguardFile: 0
|
|
||||||
AndroidTargetArchitectures: 1
|
|
||||||
AndroidTargetDevices: 0
|
|
||||||
AndroidSplashScreenScale: 0
|
|
||||||
androidSplashScreen: {fileID: 0}
|
|
||||||
AndroidKeystoreName:
|
|
||||||
AndroidKeyaliasName:
|
|
||||||
AndroidBuildApkPerCpuArchitecture: 0
|
|
||||||
AndroidTVCompatibility: 0
|
|
||||||
AndroidIsGame: 1
|
|
||||||
AndroidEnableTango: 0
|
|
||||||
androidEnableBanner: 1
|
|
||||||
androidUseLowAccuracyLocation: 0
|
|
||||||
androidUseCustomKeystore: 0
|
|
||||||
m_AndroidBanners:
|
|
||||||
- width: 320
|
|
||||||
height: 180
|
|
||||||
banner: {fileID: 0}
|
|
||||||
androidGamepadSupportLevel: 0
|
|
||||||
chromeosInputEmulation: 1
|
|
||||||
AndroidMinifyWithR8: 0
|
|
||||||
AndroidMinifyRelease: 0
|
|
||||||
AndroidMinifyDebug: 0
|
|
||||||
AndroidValidateAppBundleSize: 1
|
|
||||||
AndroidAppBundleSizeToValidate: 150
|
|
||||||
m_BuildTargetIcons: []
|
|
||||||
m_BuildTargetPlatformIcons: []
|
|
||||||
m_BuildTargetBatching:
|
|
||||||
- m_BuildTarget: Standalone
|
|
||||||
m_StaticBatching: 1
|
|
||||||
m_DynamicBatching: 0
|
|
||||||
- m_BuildTarget: tvOS
|
|
||||||
m_StaticBatching: 1
|
|
||||||
m_DynamicBatching: 0
|
|
||||||
- m_BuildTarget: Android
|
|
||||||
m_StaticBatching: 1
|
|
||||||
m_DynamicBatching: 0
|
|
||||||
- m_BuildTarget: iPhone
|
|
||||||
m_StaticBatching: 1
|
|
||||||
m_DynamicBatching: 0
|
|
||||||
- m_BuildTarget: WebGL
|
|
||||||
m_StaticBatching: 0
|
|
||||||
m_DynamicBatching: 0
|
|
||||||
m_BuildTargetGraphicsJobs:
|
|
||||||
- m_BuildTarget: MacStandaloneSupport
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
- m_BuildTarget: Switch
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: MetroSupport
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: AppleTVSupport
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
- m_BuildTarget: BJMSupport
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: LinuxStandaloneSupport
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: PS4Player
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: iOSSupport
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
- m_BuildTarget: WindowsStandaloneSupport
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: XboxOnePlayer
|
|
||||||
m_GraphicsJobs: 1
|
|
||||||
- m_BuildTarget: LuminSupport
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
- m_BuildTarget: AndroidPlayer
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
- m_BuildTarget: WebGLSupport
|
|
||||||
m_GraphicsJobs: 0
|
|
||||||
m_BuildTargetGraphicsJobMode:
|
|
||||||
- m_BuildTarget: PS4Player
|
|
||||||
m_GraphicsJobMode: 0
|
|
||||||
- m_BuildTarget: XboxOnePlayer
|
|
||||||
m_GraphicsJobMode: 0
|
|
||||||
m_BuildTargetGraphicsAPIs:
|
|
||||||
- m_BuildTarget: AndroidPlayer
|
|
||||||
m_APIs: 150000000b000000
|
|
||||||
m_Automatic: 1
|
|
||||||
- m_BuildTarget: iOSSupport
|
|
||||||
m_APIs: 10000000
|
|
||||||
m_Automatic: 1
|
|
||||||
- m_BuildTarget: AppleTVSupport
|
|
||||||
m_APIs: 10000000
|
|
||||||
m_Automatic: 1
|
|
||||||
- m_BuildTarget: WebGLSupport
|
|
||||||
m_APIs: 0b000000
|
|
||||||
m_Automatic: 1
|
|
||||||
m_BuildTargetVRSettings:
|
|
||||||
- m_BuildTarget: Standalone
|
|
||||||
m_Enabled: 0
|
|
||||||
m_Devices:
|
|
||||||
- Oculus
|
|
||||||
- OpenVR
|
|
||||||
openGLRequireES31: 0
|
|
||||||
openGLRequireES31AEP: 0
|
|
||||||
openGLRequireES32: 0
|
|
||||||
m_TemplateCustomTags: {}
|
|
||||||
mobileMTRendering:
|
|
||||||
Android: 1
|
|
||||||
iPhone: 1
|
|
||||||
tvOS: 1
|
|
||||||
m_BuildTargetGroupLightmapEncodingQuality:
|
|
||||||
- m_BuildTarget: Android
|
|
||||||
m_EncodingQuality: 1
|
|
||||||
- m_BuildTarget: iPhone
|
|
||||||
m_EncodingQuality: 1
|
|
||||||
- m_BuildTarget: tvOS
|
|
||||||
m_EncodingQuality: 1
|
|
||||||
m_BuildTargetGroupLightmapSettings: []
|
|
||||||
m_BuildTargetNormalMapEncoding:
|
|
||||||
- m_BuildTarget: Android
|
|
||||||
m_Encoding: 1
|
|
||||||
- m_BuildTarget: iPhone
|
|
||||||
m_Encoding: 1
|
|
||||||
- m_BuildTarget: tvOS
|
|
||||||
m_Encoding: 1
|
|
||||||
m_BuildTargetDefaultTextureCompressionFormat:
|
|
||||||
- m_BuildTarget: Android
|
|
||||||
m_Format: 3
|
|
||||||
playModeTestRunnerEnabled: 0
|
|
||||||
runPlayModeTestAsEditModeTest: 0
|
|
||||||
actionOnDotNetUnhandledException: 1
|
|
||||||
enableInternalProfiler: 0
|
|
||||||
logObjCUncaughtExceptions: 1
|
|
||||||
enableCrashReportAPI: 0
|
|
||||||
cameraUsageDescription:
|
|
||||||
locationUsageDescription:
|
|
||||||
microphoneUsageDescription:
|
|
||||||
bluetoothUsageDescription:
|
|
||||||
switchNMETAOverride:
|
|
||||||
switchNetLibKey:
|
|
||||||
switchSocketMemoryPoolSize: 6144
|
|
||||||
switchSocketAllocatorPoolSize: 128
|
|
||||||
switchSocketConcurrencyLimit: 14
|
|
||||||
switchScreenResolutionBehavior: 2
|
|
||||||
switchUseCPUProfiler: 0
|
|
||||||
switchUseGOLDLinker: 0
|
|
||||||
switchLTOSetting: 0
|
|
||||||
switchApplicationID: 0x01004b9000490000
|
|
||||||
switchNSODependencies:
|
|
||||||
switchTitleNames_0:
|
|
||||||
switchTitleNames_1:
|
|
||||||
switchTitleNames_2:
|
|
||||||
switchTitleNames_3:
|
|
||||||
switchTitleNames_4:
|
|
||||||
switchTitleNames_5:
|
|
||||||
switchTitleNames_6:
|
|
||||||
switchTitleNames_7:
|
|
||||||
switchTitleNames_8:
|
|
||||||
switchTitleNames_9:
|
|
||||||
switchTitleNames_10:
|
|
||||||
switchTitleNames_11:
|
|
||||||
switchTitleNames_12:
|
|
||||||
switchTitleNames_13:
|
|
||||||
switchTitleNames_14:
|
|
||||||
switchTitleNames_15:
|
|
||||||
switchPublisherNames_0:
|
|
||||||
switchPublisherNames_1:
|
|
||||||
switchPublisherNames_2:
|
|
||||||
switchPublisherNames_3:
|
|
||||||
switchPublisherNames_4:
|
|
||||||
switchPublisherNames_5:
|
|
||||||
switchPublisherNames_6:
|
|
||||||
switchPublisherNames_7:
|
|
||||||
switchPublisherNames_8:
|
|
||||||
switchPublisherNames_9:
|
|
||||||
switchPublisherNames_10:
|
|
||||||
switchPublisherNames_11:
|
|
||||||
switchPublisherNames_12:
|
|
||||||
switchPublisherNames_13:
|
|
||||||
switchPublisherNames_14:
|
|
||||||
switchPublisherNames_15:
|
|
||||||
switchIcons_0: {fileID: 0}
|
|
||||||
switchIcons_1: {fileID: 0}
|
|
||||||
switchIcons_2: {fileID: 0}
|
|
||||||
switchIcons_3: {fileID: 0}
|
|
||||||
switchIcons_4: {fileID: 0}
|
|
||||||
switchIcons_5: {fileID: 0}
|
|
||||||
switchIcons_6: {fileID: 0}
|
|
||||||
switchIcons_7: {fileID: 0}
|
|
||||||
switchIcons_8: {fileID: 0}
|
|
||||||
switchIcons_9: {fileID: 0}
|
|
||||||
switchIcons_10: {fileID: 0}
|
|
||||||
switchIcons_11: {fileID: 0}
|
|
||||||
switchIcons_12: {fileID: 0}
|
|
||||||
switchIcons_13: {fileID: 0}
|
|
||||||
switchIcons_14: {fileID: 0}
|
|
||||||
switchIcons_15: {fileID: 0}
|
|
||||||
switchSmallIcons_0: {fileID: 0}
|
|
||||||
switchSmallIcons_1: {fileID: 0}
|
|
||||||
switchSmallIcons_2: {fileID: 0}
|
|
||||||
switchSmallIcons_3: {fileID: 0}
|
|
||||||
switchSmallIcons_4: {fileID: 0}
|
|
||||||
switchSmallIcons_5: {fileID: 0}
|
|
||||||
switchSmallIcons_6: {fileID: 0}
|
|
||||||
switchSmallIcons_7: {fileID: 0}
|
|
||||||
switchSmallIcons_8: {fileID: 0}
|
|
||||||
switchSmallIcons_9: {fileID: 0}
|
|
||||||
switchSmallIcons_10: {fileID: 0}
|
|
||||||
switchSmallIcons_11: {fileID: 0}
|
|
||||||
switchSmallIcons_12: {fileID: 0}
|
|
||||||
switchSmallIcons_13: {fileID: 0}
|
|
||||||
switchSmallIcons_14: {fileID: 0}
|
|
||||||
switchSmallIcons_15: {fileID: 0}
|
|
||||||
switchManualHTML:
|
|
||||||
switchAccessibleURLs:
|
|
||||||
switchLegalInformation:
|
|
||||||
switchMainThreadStackSize: 1048576
|
|
||||||
switchPresenceGroupId:
|
|
||||||
switchLogoHandling: 0
|
|
||||||
switchReleaseVersion: 0
|
|
||||||
switchDisplayVersion: 1.0.0
|
|
||||||
switchStartupUserAccount: 0
|
|
||||||
switchTouchScreenUsage: 0
|
|
||||||
switchSupportedLanguagesMask: 0
|
|
||||||
switchLogoType: 0
|
|
||||||
switchApplicationErrorCodeCategory:
|
|
||||||
switchUserAccountSaveDataSize: 0
|
|
||||||
switchUserAccountSaveDataJournalSize: 0
|
|
||||||
switchApplicationAttribute: 0
|
|
||||||
switchCardSpecSize: -1
|
|
||||||
switchCardSpecClock: -1
|
|
||||||
switchRatingsMask: 0
|
|
||||||
switchRatingsInt_0: 0
|
|
||||||
switchRatingsInt_1: 0
|
|
||||||
switchRatingsInt_2: 0
|
|
||||||
switchRatingsInt_3: 0
|
|
||||||
switchRatingsInt_4: 0
|
|
||||||
switchRatingsInt_5: 0
|
|
||||||
switchRatingsInt_6: 0
|
|
||||||
switchRatingsInt_7: 0
|
|
||||||
switchRatingsInt_8: 0
|
|
||||||
switchRatingsInt_9: 0
|
|
||||||
switchRatingsInt_10: 0
|
|
||||||
switchRatingsInt_11: 0
|
|
||||||
switchRatingsInt_12: 0
|
|
||||||
switchLocalCommunicationIds_0:
|
|
||||||
switchLocalCommunicationIds_1:
|
|
||||||
switchLocalCommunicationIds_2:
|
|
||||||
switchLocalCommunicationIds_3:
|
|
||||||
switchLocalCommunicationIds_4:
|
|
||||||
switchLocalCommunicationIds_5:
|
|
||||||
switchLocalCommunicationIds_6:
|
|
||||||
switchLocalCommunicationIds_7:
|
|
||||||
switchParentalControl: 0
|
|
||||||
switchAllowsScreenshot: 1
|
|
||||||
switchAllowsVideoCapturing: 1
|
|
||||||
switchAllowsRuntimeAddOnContentInstall: 0
|
|
||||||
switchDataLossConfirmation: 0
|
|
||||||
switchUserAccountLockEnabled: 0
|
|
||||||
switchSystemResourceMemory: 16777216
|
|
||||||
switchSupportedNpadStyles: 22
|
|
||||||
switchNativeFsCacheSize: 32
|
|
||||||
switchIsHoldTypeHorizontal: 0
|
|
||||||
switchSupportedNpadCount: 8
|
|
||||||
switchSocketConfigEnabled: 0
|
|
||||||
switchTcpInitialSendBufferSize: 32
|
|
||||||
switchTcpInitialReceiveBufferSize: 64
|
|
||||||
switchTcpAutoSendBufferSizeMax: 256
|
|
||||||
switchTcpAutoReceiveBufferSizeMax: 256
|
|
||||||
switchUdpSendBufferSize: 9
|
|
||||||
switchUdpReceiveBufferSize: 42
|
|
||||||
switchSocketBufferEfficiency: 4
|
|
||||||
switchSocketInitializeEnabled: 1
|
|
||||||
switchNetworkInterfaceManagerInitializeEnabled: 1
|
|
||||||
switchPlayerConnectionEnabled: 1
|
|
||||||
switchUseNewStyleFilepaths: 0
|
|
||||||
switchUseMicroSleepForYield: 1
|
|
||||||
switchEnableRamDiskSupport: 0
|
|
||||||
switchMicroSleepForYieldTime: 25
|
|
||||||
switchRamDiskSpaceSize: 12
|
|
||||||
ps4NPAgeRating: 12
|
|
||||||
ps4NPTitleSecret:
|
|
||||||
ps4NPTrophyPackPath:
|
|
||||||
ps4ParentalLevel: 11
|
|
||||||
ps4ContentID: ED1633-NPXX51362_00-0000000000000000
|
|
||||||
ps4Category: 0
|
|
||||||
ps4MasterVersion: 01.00
|
|
||||||
ps4AppVersion: 01.00
|
|
||||||
ps4AppType: 0
|
|
||||||
ps4ParamSfxPath:
|
|
||||||
ps4VideoOutPixelFormat: 0
|
|
||||||
ps4VideoOutInitialWidth: 1920
|
|
||||||
ps4VideoOutBaseModeInitialWidth: 1920
|
|
||||||
ps4VideoOutReprojectionRate: 60
|
|
||||||
ps4PronunciationXMLPath:
|
|
||||||
ps4PronunciationSIGPath:
|
|
||||||
ps4BackgroundImagePath:
|
|
||||||
ps4StartupImagePath:
|
|
||||||
ps4StartupImagesFolder:
|
|
||||||
ps4IconImagesFolder:
|
|
||||||
ps4SaveDataImagePath:
|
|
||||||
ps4SdkOverride:
|
|
||||||
ps4BGMPath:
|
|
||||||
ps4ShareFilePath:
|
|
||||||
ps4ShareOverlayImagePath:
|
|
||||||
ps4PrivacyGuardImagePath:
|
|
||||||
ps4ExtraSceSysFile:
|
|
||||||
ps4NPtitleDatPath:
|
|
||||||
ps4RemotePlayKeyAssignment: -1
|
|
||||||
ps4RemotePlayKeyMappingDir:
|
|
||||||
ps4PlayTogetherPlayerCount: 0
|
|
||||||
ps4EnterButtonAssignment: 1
|
|
||||||
ps4ApplicationParam1: 0
|
|
||||||
ps4ApplicationParam2: 0
|
|
||||||
ps4ApplicationParam3: 0
|
|
||||||
ps4ApplicationParam4: 0
|
|
||||||
ps4DownloadDataSize: 0
|
|
||||||
ps4GarlicHeapSize: 2048
|
|
||||||
ps4ProGarlicHeapSize: 2560
|
|
||||||
playerPrefsMaxSize: 32768
|
|
||||||
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
|
|
||||||
ps4pnSessions: 1
|
|
||||||
ps4pnPresence: 1
|
|
||||||
ps4pnFriends: 1
|
|
||||||
ps4pnGameCustomData: 1
|
|
||||||
playerPrefsSupport: 0
|
|
||||||
enableApplicationExit: 0
|
|
||||||
resetTempFolder: 1
|
|
||||||
restrictedAudioUsageRights: 0
|
|
||||||
ps4UseResolutionFallback: 0
|
|
||||||
ps4ReprojectionSupport: 0
|
|
||||||
ps4UseAudio3dBackend: 0
|
|
||||||
ps4UseLowGarlicFragmentationMode: 1
|
|
||||||
ps4SocialScreenEnabled: 0
|
|
||||||
ps4ScriptOptimizationLevel: 0
|
|
||||||
ps4Audio3dVirtualSpeakerCount: 14
|
|
||||||
ps4attribCpuUsage: 0
|
|
||||||
ps4PatchPkgPath:
|
|
||||||
ps4PatchLatestPkgPath:
|
|
||||||
ps4PatchChangeinfoPath:
|
|
||||||
ps4PatchDayOne: 0
|
|
||||||
ps4attribUserManagement: 0
|
|
||||||
ps4attribMoveSupport: 0
|
|
||||||
ps4attrib3DSupport: 0
|
|
||||||
ps4attribShareSupport: 0
|
|
||||||
ps4attribExclusiveVR: 0
|
|
||||||
ps4disableAutoHideSplash: 0
|
|
||||||
ps4videoRecordingFeaturesUsed: 0
|
|
||||||
ps4contentSearchFeaturesUsed: 0
|
|
||||||
ps4CompatibilityPS5: 0
|
|
||||||
ps4GPU800MHz: 1
|
|
||||||
ps4attribEyeToEyeDistanceSettingVR: 0
|
|
||||||
ps4IncludedModules: []
|
|
||||||
ps4attribVROutputEnabled: 0
|
|
||||||
monoEnv:
|
|
||||||
splashScreenBackgroundSourceLandscape: {fileID: 0}
|
|
||||||
splashScreenBackgroundSourcePortrait: {fileID: 0}
|
|
||||||
blurSplashScreenBackground: 1
|
|
||||||
spritePackerPolicy:
|
|
||||||
webGLMemorySize: 16
|
|
||||||
webGLExceptionSupport: 1
|
|
||||||
webGLNameFilesAsHashes: 0
|
|
||||||
webGLDataCaching: 1
|
|
||||||
webGLDebugSymbols: 0
|
|
||||||
webGLEmscriptenArgs:
|
|
||||||
webGLModulesDirectory:
|
|
||||||
webGLTemplate: APPLICATION:Default
|
|
||||||
webGLAnalyzeBuildSize: 0
|
|
||||||
webGLUseEmbeddedResources: 0
|
|
||||||
webGLCompressionFormat: 1
|
|
||||||
webGLWasmArithmeticExceptions: 0
|
|
||||||
webGLLinkerTarget: 1
|
|
||||||
webGLThreadsSupport: 0
|
|
||||||
webGLDecompressionFallback: 0
|
|
||||||
scriptingDefineSymbols: {}
|
|
||||||
additionalCompilerArguments: {}
|
|
||||||
platformArchitecture: {}
|
|
||||||
scriptingBackend: {}
|
|
||||||
il2cppCompilerConfiguration: {}
|
|
||||||
managedStrippingLevel: {}
|
|
||||||
incrementalIl2cppBuild: {}
|
|
||||||
suppressCommonWarnings: 1
|
|
||||||
allowUnsafeCode: 0
|
|
||||||
useDeterministicCompilation: 1
|
|
||||||
enableRoslynAnalyzers: 1
|
|
||||||
additionalIl2CppArgs:
|
|
||||||
scriptingRuntimeVersion: 1
|
|
||||||
gcIncremental: 1
|
|
||||||
assemblyVersionValidation: 1
|
|
||||||
gcWBarrierValidation: 0
|
|
||||||
apiCompatibilityLevelPerPlatform: {}
|
|
||||||
m_RenderingPath: 1
|
|
||||||
m_MobileRenderingPath: 1
|
|
||||||
metroPackageName: Template_3D
|
|
||||||
metroPackageVersion:
|
|
||||||
metroCertificatePath:
|
|
||||||
metroCertificatePassword:
|
|
||||||
metroCertificateSubject:
|
|
||||||
metroCertificateIssuer:
|
|
||||||
metroCertificateNotAfter: 0000000000000000
|
|
||||||
metroApplicationDescription: Template_3D
|
|
||||||
wsaImages: {}
|
|
||||||
metroTileShortName:
|
|
||||||
metroTileShowName: 0
|
|
||||||
metroMediumTileShowName: 0
|
|
||||||
metroLargeTileShowName: 0
|
|
||||||
metroWideTileShowName: 0
|
|
||||||
metroSupportStreamingInstall: 0
|
|
||||||
metroLastRequiredScene: 0
|
|
||||||
metroDefaultTileSize: 1
|
|
||||||
metroTileForegroundText: 2
|
|
||||||
metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
|
|
||||||
metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1}
|
|
||||||
metroSplashScreenUseBackgroundColor: 0
|
|
||||||
platformCapabilities: {}
|
|
||||||
metroTargetDeviceFamilies: {}
|
|
||||||
metroFTAName:
|
|
||||||
metroFTAFileTypes: []
|
|
||||||
metroProtocolName:
|
|
||||||
vcxProjDefaultLanguage:
|
|
||||||
XboxOneProductId:
|
|
||||||
XboxOneUpdateKey:
|
|
||||||
XboxOneSandboxId:
|
|
||||||
XboxOneContentId:
|
|
||||||
XboxOneTitleId:
|
|
||||||
XboxOneSCId:
|
|
||||||
XboxOneGameOsOverridePath:
|
|
||||||
XboxOnePackagingOverridePath:
|
|
||||||
XboxOneAppManifestOverridePath:
|
|
||||||
XboxOneVersion: 1.0.0.0
|
|
||||||
XboxOnePackageEncryption: 0
|
|
||||||
XboxOnePackageUpdateGranularity: 2
|
|
||||||
XboxOneDescription:
|
|
||||||
XboxOneLanguage:
|
|
||||||
- enus
|
|
||||||
XboxOneCapability: []
|
|
||||||
XboxOneGameRating: {}
|
|
||||||
XboxOneIsContentPackage: 0
|
|
||||||
XboxOneEnhancedXboxCompatibilityMode: 0
|
|
||||||
XboxOneEnableGPUVariability: 1
|
|
||||||
XboxOneSockets: {}
|
|
||||||
XboxOneSplashScreen: {fileID: 0}
|
|
||||||
XboxOneAllowedProductIds: []
|
|
||||||
XboxOnePersistentLocalStorageSize: 0
|
|
||||||
XboxOneXTitleMemory: 8
|
|
||||||
XboxOneOverrideIdentityName:
|
|
||||||
XboxOneOverrideIdentityPublisher:
|
|
||||||
vrEditorSettings: {}
|
|
||||||
cloudServicesEnabled:
|
|
||||||
UNet: 1
|
|
||||||
luminIcon:
|
|
||||||
m_Name:
|
|
||||||
m_ModelFolderPath:
|
|
||||||
m_PortalFolderPath:
|
|
||||||
luminCert:
|
|
||||||
m_CertPath:
|
|
||||||
m_SignPackage: 1
|
|
||||||
luminIsChannelApp: 0
|
|
||||||
luminVersion:
|
|
||||||
m_VersionCode: 1
|
|
||||||
m_VersionName:
|
|
||||||
apiCompatibilityLevel: 6
|
|
||||||
activeInputHandler: 0
|
|
||||||
cloudProjectId:
|
|
||||||
framebufferDepthMemorylessMode: 0
|
|
||||||
qualitySettingsNames: []
|
|
||||||
projectName:
|
|
||||||
organizationId:
|
|
||||||
cloudEnabled: 0
|
|
||||||
legacyClampBlendShapeWeights: 0
|
|
||||||
playerDataPath:
|
|
||||||
forceSRGBBlit: 1
|
|
||||||
virtualTexturingSupportEnabled: 0
|
|
@ -1,2 +0,0 @@
|
|||||||
m_EditorVersion: 2021.3.29f1
|
|
||||||
m_EditorVersionWithRevision: 2021.3.29f1 (204d6dc9ae1c)
|
|
@ -1,232 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!47 &1
|
|
||||||
QualitySettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 5
|
|
||||||
m_CurrentQuality: 5
|
|
||||||
m_QualitySettings:
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Very Low
|
|
||||||
pixelLightCount: 0
|
|
||||||
shadows: 0
|
|
||||||
shadowResolution: 0
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 1
|
|
||||||
shadowDistance: 15
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 0
|
|
||||||
blendWeights: 1
|
|
||||||
textureQuality: 1
|
|
||||||
anisotropicTextures: 0
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 0
|
|
||||||
realtimeReflectionProbes: 0
|
|
||||||
billboardsFaceCameraPosition: 0
|
|
||||||
vSyncCount: 0
|
|
||||||
lodBias: 0.3
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 4
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Low
|
|
||||||
pixelLightCount: 0
|
|
||||||
shadows: 0
|
|
||||||
shadowResolution: 0
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 1
|
|
||||||
shadowDistance: 20
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 0
|
|
||||||
blendWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 0
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 0
|
|
||||||
realtimeReflectionProbes: 0
|
|
||||||
billboardsFaceCameraPosition: 0
|
|
||||||
vSyncCount: 0
|
|
||||||
lodBias: 0.4
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 16
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Medium
|
|
||||||
pixelLightCount: 1
|
|
||||||
shadows: 1
|
|
||||||
shadowResolution: 0
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 1
|
|
||||||
shadowDistance: 20
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 0
|
|
||||||
blendWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 1
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 0
|
|
||||||
realtimeReflectionProbes: 0
|
|
||||||
billboardsFaceCameraPosition: 0
|
|
||||||
vSyncCount: 1
|
|
||||||
lodBias: 0.7
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 64
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: High
|
|
||||||
pixelLightCount: 2
|
|
||||||
shadows: 2
|
|
||||||
shadowResolution: 1
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 2
|
|
||||||
shadowDistance: 40
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 1
|
|
||||||
blendWeights: 2
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 1
|
|
||||||
antiAliasing: 0
|
|
||||||
softParticles: 0
|
|
||||||
softVegetation: 1
|
|
||||||
realtimeReflectionProbes: 1
|
|
||||||
billboardsFaceCameraPosition: 1
|
|
||||||
vSyncCount: 1
|
|
||||||
lodBias: 1
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 256
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Very High
|
|
||||||
pixelLightCount: 3
|
|
||||||
shadows: 2
|
|
||||||
shadowResolution: 2
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 2
|
|
||||||
shadowDistance: 70
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 1
|
|
||||||
blendWeights: 4
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 2
|
|
||||||
antiAliasing: 2
|
|
||||||
softParticles: 1
|
|
||||||
softVegetation: 1
|
|
||||||
realtimeReflectionProbes: 1
|
|
||||||
billboardsFaceCameraPosition: 1
|
|
||||||
vSyncCount: 1
|
|
||||||
lodBias: 1.5
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 1024
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
- serializedVersion: 2
|
|
||||||
name: Ultra
|
|
||||||
pixelLightCount: 4
|
|
||||||
shadows: 2
|
|
||||||
shadowResolution: 2
|
|
||||||
shadowProjection: 1
|
|
||||||
shadowCascades: 4
|
|
||||||
shadowDistance: 150
|
|
||||||
shadowNearPlaneOffset: 3
|
|
||||||
shadowCascade2Split: 0.33333334
|
|
||||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
|
||||||
shadowmaskMode: 1
|
|
||||||
blendWeights: 4
|
|
||||||
textureQuality: 0
|
|
||||||
anisotropicTextures: 2
|
|
||||||
antiAliasing: 2
|
|
||||||
softParticles: 1
|
|
||||||
softVegetation: 1
|
|
||||||
realtimeReflectionProbes: 1
|
|
||||||
billboardsFaceCameraPosition: 1
|
|
||||||
vSyncCount: 1
|
|
||||||
lodBias: 2
|
|
||||||
maximumLODLevel: 0
|
|
||||||
streamingMipmapsActive: 0
|
|
||||||
streamingMipmapsAddAllCameras: 1
|
|
||||||
streamingMipmapsMemoryBudget: 512
|
|
||||||
streamingMipmapsRenderersPerFrame: 512
|
|
||||||
streamingMipmapsMaxLevelReduction: 2
|
|
||||||
streamingMipmapsMaxFileIORequests: 1024
|
|
||||||
particleRaycastBudget: 4096
|
|
||||||
asyncUploadTimeSlice: 2
|
|
||||||
asyncUploadBufferSize: 16
|
|
||||||
asyncUploadPersistentBuffer: 1
|
|
||||||
resolutionScalingFixedDPIFactor: 1
|
|
||||||
excludedTargetPlatforms: []
|
|
||||||
m_PerPlatformDefaultQuality:
|
|
||||||
Android: 2
|
|
||||||
Lumin: 5
|
|
||||||
Nintendo 3DS: 5
|
|
||||||
Nintendo Switch: 5
|
|
||||||
PS4: 5
|
|
||||||
PSP2: 2
|
|
||||||
Stadia: 5
|
|
||||||
Standalone: 5
|
|
||||||
WebGL: 3
|
|
||||||
Windows Store Apps: 5
|
|
||||||
XboxOne: 5
|
|
||||||
iPhone: 2
|
|
||||||
tvOS: 2
|
|
@ -1,15 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &1
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 61
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier: Unity.Rider.Editor:Packages.Rider.Editor:RiderScriptEditorPersistedState
|
|
||||||
lastWriteTicks: -8585496032972088364
|
|
@ -1,167 +0,0 @@
|
|||||||
{
|
|
||||||
"templatePinStates": [],
|
|
||||||
"dependencyTypeInfos": [
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.AnimationClip",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEditor.Animations.AnimatorController",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.AnimatorOverrideController",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEditor.Audio.AudioMixerController",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.ComputeShader",
|
|
||||||
"ignore": true,
|
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Cubemap",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.GameObject",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEditor.LightingDataAsset",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.LightingSettings",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Material",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEditor.MonoScript",
|
|
||||||
"ignore": true,
|
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.PhysicMaterial",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.PhysicsMaterial2D",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Rendering.VolumeProfile",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEditor.SceneAsset",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Shader",
|
|
||||||
"ignore": true,
|
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.ShaderVariantCollection",
|
|
||||||
"ignore": true,
|
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Texture",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Texture2D",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "UnityEngine.Timeline.TimelineAsset",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"defaultDependencyTypeInfo": {
|
|
||||||
"userAdded": false,
|
|
||||||
"type": "<default_scene_template_dependencies>",
|
|
||||||
"ignore": false,
|
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
|
||||||
"newSceneOverride": 0
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!78 &1
|
|
||||||
TagManager:
|
|
||||||
serializedVersion: 2
|
|
||||||
tags: []
|
|
||||||
layers:
|
|
||||||
- Default
|
|
||||||
- TransparentFX
|
|
||||||
- Ignore Raycast
|
|
||||||
-
|
|
||||||
- Water
|
|
||||||
- UI
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
m_SortingLayers:
|
|
||||||
- name: Default
|
|
||||||
uniqueID: 0
|
|
||||||
locked: 0
|
|
@ -1,9 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!5 &1
|
|
||||||
TimeManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
Fixed Timestep: 0.02
|
|
||||||
Maximum Allowed Timestep: 0.33333334
|
|
||||||
m_TimeScale: 1
|
|
||||||
Maximum Particle Timestep: 0.03
|
|
@ -1,35 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!310 &1
|
|
||||||
UnityConnectSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 1
|
|
||||||
m_Enabled: 0
|
|
||||||
m_TestMode: 0
|
|
||||||
m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
|
|
||||||
m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
|
|
||||||
m_ConfigUrl: https://config.uca.cloud.unity3d.com
|
|
||||||
m_DashboardUrl: https://dashboard.unity3d.com
|
|
||||||
m_TestInitMode: 0
|
|
||||||
CrashReportingSettings:
|
|
||||||
m_EventUrl: https://perf-events.cloud.unity3d.com
|
|
||||||
m_Enabled: 0
|
|
||||||
m_LogBufferSize: 10
|
|
||||||
m_CaptureEditorExceptions: 1
|
|
||||||
UnityPurchasingSettings:
|
|
||||||
m_Enabled: 0
|
|
||||||
m_TestMode: 0
|
|
||||||
UnityAnalyticsSettings:
|
|
||||||
m_Enabled: 0
|
|
||||||
m_TestMode: 0
|
|
||||||
m_InitializeOnStartup: 1
|
|
||||||
UnityAdsSettings:
|
|
||||||
m_Enabled: 0
|
|
||||||
m_InitializeOnStartup: 1
|
|
||||||
m_TestMode: 0
|
|
||||||
m_IosGameId:
|
|
||||||
m_AndroidGameId:
|
|
||||||
m_GameIds: {}
|
|
||||||
m_GameId:
|
|
||||||
PerformanceReportingSettings:
|
|
||||||
m_Enabled: 0
|
|
@ -1,12 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!937362698 &1
|
|
||||||
VFXManager:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_IndirectShader: {fileID: 0}
|
|
||||||
m_CopyBufferShader: {fileID: 0}
|
|
||||||
m_SortShader: {fileID: 0}
|
|
||||||
m_StripUpdateShader: {fileID: 0}
|
|
||||||
m_RenderPipeSettingsPath:
|
|
||||||
m_FixedTimeStep: 0.016666668
|
|
||||||
m_MaxDeltaTime: 0.05
|
|
@ -1,8 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!890905787 &1
|
|
||||||
VersionControlSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_Mode: Visible Meta Files
|
|
||||||
m_CollabEditorSettings:
|
|
||||||
inProgressEnabled: 1
|
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"m_SettingKeys": [
|
|
||||||
"VR Device Disabled",
|
|
||||||
"VR Device User Alert"
|
|
||||||
],
|
|
||||||
"m_SettingValues": [
|
|
||||||
"False",
|
|
||||||
"False"
|
|
||||||
]
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user