├── .github └── workflows │ ├── pull_request.yml │ └── push.yml ├── .gitignore ├── Assets ├── Plugins.meta ├── Plugins │ ├── TSCubemapGenerator.meta │ └── TSCubemapGenerator │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── Converter.meta │ │ ├── Converter │ │ │ ├── Cubemap2HorizontalPngConverter.cs │ │ │ ├── Cubemap2HorizontalPngConverter.cs.meta │ │ │ ├── Cubemap2VerticalPngConverter.cs │ │ │ ├── Cubemap2VerticalPngConverter.cs.meta │ │ │ ├── ICubemapConverter.cs │ │ │ ├── ICubemapConverter.cs.meta │ │ │ ├── OutputImageType.cs │ │ │ ├── OutputImageType.cs.meta │ │ │ ├── SizeType.cs │ │ │ ├── SizeType.cs.meta │ │ │ ├── SkipRounder.cs │ │ │ ├── SkipRounder.cs.meta │ │ │ ├── Texture2DExtensions.cs │ │ │ └── Texture2DExtensions.cs.meta │ │ ├── Exception.meta │ │ ├── Exception │ │ │ ├── CubemapGeneratorException.cs │ │ │ └── CubemapGeneratorException.cs.meta │ │ ├── Rounder.meta │ │ ├── Rounder │ │ │ ├── IRounder.cs │ │ │ ├── IRounder.cs.meta │ │ │ ├── NumberMultipleRounder.cs │ │ │ ├── NumberMultipleRounder.cs.meta │ │ │ ├── NumberPowerRounder.cs │ │ │ └── NumberPowerRounder.cs.meta │ │ ├── TSCubemapGenerator.asmdef │ │ ├── TSCubemapGenerator.asmdef.meta │ │ ├── Window.meta │ │ └── Window │ │ │ ├── CubemapConverterSelector.cs │ │ │ ├── CubemapConverterSelector.cs.meta │ │ │ ├── CubemapGeneratorEditorWindow.cs │ │ │ ├── CubemapGeneratorEditorWindow.cs.meta │ │ │ ├── RounderSelector.cs │ │ │ └── RounderSelector.cs.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ ├── PreviewSkybox.mat │ │ └── PreviewSkybox.mat.meta │ │ ├── package.json │ │ └── package.json.meta ├── Scenes.meta ├── Scenes │ ├── Materials.meta │ ├── Materials │ │ ├── Capsule.mat │ │ ├── Capsule.mat.meta │ │ ├── Cube.mat │ │ ├── Cube.mat.meta │ │ ├── Cylinder.mat │ │ ├── Cylinder.mat.meta │ │ ├── Floor.mat │ │ ├── Floor.mat.meta │ │ ├── Sphere.mat │ │ └── Sphere.mat.meta │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Tests.meta └── Tests │ ├── Rounder.meta │ ├── Rounder │ ├── TestNumberMultipleRounder.cs │ ├── TestNumberMultipleRounder.cs.meta │ ├── TestNumberPowerRounder.cs │ └── TestNumberPowerRounder.cs.meta │ ├── Tests.CubemapGenerator.asmdef │ └── Tests.CubemapGenerator.asmdef.meta ├── Documents └── Images │ ├── open_tool_window.jpg │ └── thumbnail.jpg ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── SceneTemplateSettings.json ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRPackageSettings.asset └── XRSettings.asset └── README.md /.github/workflows/pull_request.yml: -------------------------------------------------------------------------------- 1 | name: Pull Request 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | test: 10 | name: Test in ${{ matrix.testMode }} 11 | runs-on: ubuntu-latest 12 | strategy: 13 | fail-fast: false 14 | matrix: 15 | projectPath: 16 | - . 17 | unityVersion: 18 | - 2020.3.12f1 19 | testMode: 20 | - all 21 | steps: 22 | - uses: actions/checkout@v2 23 | with: 24 | lfs: true 25 | - uses: actions/cache@v2 26 | with: 27 | path: ${{ matrix.projectPath }}/Library 28 | key: Library-${{ matrix.projectPath }} 29 | restore-keys: | 30 | Library- 31 | - uses: game-ci/unity-test-runner@v2 32 | id: tests 33 | env: 34 | UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} 35 | with: 36 | unityVersion: ${{ matrix.unityVersion }} 37 | projectPath: ${{ matrix.projectPath }} 38 | testMode: ${{ matrix.testMode }} 39 | artifactsPath: ${{ matrix.testMode }}-artifacts 40 | githubToken: ${{ secrets.GITHUB_TOKEN }} 41 | checkName: ${{ matrix.testMode }} Test Results 42 | - uses: actions/upload-artifact@v2 43 | if: always() 44 | with: 45 | name: Test results for ${{ matrix.testMode }} 46 | path: ${{ steps.tests.outputs.artifactsPath }} -------------------------------------------------------------------------------- /.github/workflows/push.yml: -------------------------------------------------------------------------------- 1 | name: Push 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | test: 10 | name: Test in ${{ matrix.testMode }} 11 | runs-on: ubuntu-latest 12 | strategy: 13 | fail-fast: false 14 | matrix: 15 | projectPath: 16 | - . 17 | unityVersion: 18 | - 2020.3.12f1 19 | testMode: 20 | - all 21 | steps: 22 | - uses: actions/checkout@v2 23 | with: 24 | lfs: true 25 | - uses: game-ci/unity-test-runner@v2 26 | id: tests 27 | env: 28 | UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} 29 | with: 30 | unityVersion: ${{ matrix.unityVersion }} 31 | projectPath: ${{ matrix.projectPath }} 32 | testMode: ${{ matrix.testMode }} 33 | artifactsPath: ${{ matrix.testMode }}-artifacts 34 | githubToken: ${{ secrets.GITHUB_TOKEN }} 35 | checkName: ${{ matrix.testMode }} Test Results 36 | - uses: actions/upload-artifact@v2 37 | if: always() 38 | with: 39 | name: Test results for ${{ matrix.testMode }} 40 | path: ${{ steps.tests.outputs.artifactsPath }} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Asset meta data should only be ignored when the corresponding asset is also ignored 18 | !/[Aa]ssets/**/*.meta 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | 63 | # Crashlytics generated file 64 | crashlytics-build.properties 65 | 66 | # Packed Addressables 67 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 68 | 69 | # Temporary auto-generated Android Assets 70 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 71 | /[Aa]ssets/[Ss]treamingAssets/aa/* 72 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7530555035f4c54f8f9806029f266df 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b95eff34580a28b448ef46c0a30b8a68 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb8149d5c2e72eb469b24296c65269d7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7191c2eae9dde3e46b6c9bc15c513d92 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Cubemap2HorizontalPngConverter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TSCubemapGenerator 4 | { 5 | public class Cubemap2HorizontalPngConverter : ICubemapConverter 6 | { 7 | public string FileExtension => "png"; 8 | 9 | public byte[] ConvertFrom(Cubemap cubemap) 10 | { 11 | int width = cubemap.width; 12 | int height = cubemap.height; 13 | 14 | Texture2D texture = new Texture2D( 15 | width * 6, height, 16 | TextureFormat.RGB24, false); 17 | 18 | var faces = new CubemapFace[] { 19 | CubemapFace.PositiveX, 20 | CubemapFace.NegativeX, 21 | CubemapFace.PositiveY, 22 | CubemapFace.NegativeY, 23 | CubemapFace.PositiveZ, 24 | CubemapFace.NegativeZ, 25 | }; 26 | 27 | int x = 0; 28 | foreach (var face in faces) 29 | { 30 | texture.SetPixels(x, 0, width, height, cubemap, face); 31 | x += width; 32 | } 33 | texture.Apply(); 34 | 35 | return ImageConversion.EncodeToPNG(texture); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Cubemap2HorizontalPngConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae185d76e0878754e9c59f1980408d50 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Cubemap2VerticalPngConverter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TSCubemapGenerator 4 | { 5 | public class Cubemap2VerticalPngConverter : ICubemapConverter 6 | { 7 | public string FileExtension => "png"; 8 | 9 | public byte[] ConvertFrom(Cubemap cubemap) 10 | { 11 | int width = cubemap.width; 12 | int height = cubemap.height; 13 | 14 | Texture2D texture = new Texture2D( 15 | width, height * 6, 16 | TextureFormat.RGB24, false); 17 | 18 | // SetPixelsが画像の左下から右上に描画していくため、 19 | // 下から上の順番でコピー 20 | var faces = new CubemapFace[] { 21 | CubemapFace.NegativeZ, 22 | CubemapFace.PositiveZ, 23 | CubemapFace.NegativeY, 24 | CubemapFace.PositiveY, 25 | CubemapFace.NegativeX, 26 | CubemapFace.PositiveX, 27 | }; 28 | 29 | int y = 0; 30 | foreach (var face in faces) 31 | { 32 | texture.SetPixels(0, y, width, height, cubemap, face); 33 | y += height; 34 | } 35 | texture.Apply(); 36 | 37 | return ImageConversion.EncodeToPNG(texture); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Cubemap2VerticalPngConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c505bc292e7da3345994762ce6d1fa88 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/ICubemapConverter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace TSCubemapGenerator 6 | { 7 | public interface ICubemapConverter 8 | { 9 | string FileExtension { get; } 10 | 11 | byte[] ConvertFrom(Cubemap cubemap); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/ICubemapConverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad0c8cd2fb92c5c4bb0d78faf2c18da5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/OutputImageType.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator 2 | { 3 | public enum OutputImageType 4 | { 5 | VerticalPng, 6 | HorizontalPng, 7 | } 8 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/OutputImageType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c51b8ab705903984b869076cbd43314f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/SizeType.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator 2 | { 3 | public enum SizeType 4 | { 5 | None = 0, 6 | MultipleOf4, 7 | PowerOf2, 8 | } 9 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/SizeType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a286828e8cea234e8dab7e6927673fe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/SkipRounder.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator 2 | { 3 | public class SkipRounder : IRounder 4 | { 5 | public int Round(int value) 6 | { 7 | return value; 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/SkipRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1516aefa00e98344f82438503fcde57d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Texture2DExtensions.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TSCubemapGenerator 4 | { 5 | public static class Texture2DExtensions 6 | { 7 | /// 8 | /// Texture2Dの向きに合わせてCubemapの指定されたfaceのピクセルにてSetPixelsを実施 9 | /// 10 | /// 制限事項 11 | /// blockWidth, blockHeightはTexture2DおよびCubemapのwidth, height以下の値で指定すること 12 | /// 13 | public static void SetPixels(this Texture2D texture, 14 | int x, int y, int blockWidth, int blockHeight, 15 | Cubemap cubemap, CubemapFace face) 16 | { 17 | Color[] pixels = cubemap.GetPixels(face); 18 | 19 | // Cubemap.GetPixelsは右上から左下の順番のため、 20 | // SetPixelsに左下から右上の順番に合わせて反転させる 21 | System.Array.Reverse(pixels); 22 | for (int i = 0; i < blockWidth; ++i) 23 | { 24 | System.Array.Reverse(pixels, i * blockHeight, blockWidth); 25 | } 26 | 27 | texture.SetPixels(x, y, blockWidth, blockHeight, pixels); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Converter/Texture2DExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd79dd50e5c2dd54896656564004387e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Exception.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdd830ec66d8aaa48a6ce637c99039d6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Exception/CubemapGeneratorException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace TSCubemapGenerator 4 | { 5 | public class CubemapGeneratorException : Exception 6 | { 7 | public CubemapGeneratorException(string message) : base(message) 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Exception/CubemapGeneratorException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ff83c56be6a139489e733566ba8203f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e58da913c158de44a918ad84e27289a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/IRounder.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator 2 | { 3 | public interface IRounder 4 | { 5 | int Round(int value); 6 | } 7 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/IRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 661216e042ed1ca49b7433418cc963e3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/NumberMultipleRounder.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator 2 | { 3 | public class NumberMultipleRounder : IRounder 4 | { 5 | public NumberMultipleRounder(int number) 6 | { 7 | if (number <= 0) 8 | { 9 | throw new CubemapGeneratorException("Invalid a number. You should use 1 or greater"); 10 | } 11 | 12 | Number = number; 13 | } 14 | 15 | public int Number { get; } 16 | 17 | public int Round(int value) 18 | { 19 | return value / Number * Number; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/NumberMultipleRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92ef8461939498d44908dec976894e4c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/NumberPowerRounder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace TSCubemapGenerator 5 | { 6 | public class NumberPowerRounder : IRounder 7 | { 8 | public NumberPowerRounder(int number) 9 | { 10 | if (number <= 0) 11 | { 12 | throw new CubemapGeneratorException("Invalid a number. You should use 1 or greater"); 13 | } 14 | 15 | Number = number; 16 | } 17 | 18 | public int Number { get; } 19 | 20 | public int Round(int value) 21 | { 22 | if (value < Number) 23 | { 24 | return Number; 25 | } 26 | 27 | double p = Math.Round(Math.Log(value) / Math.Log(Number)); 28 | int v = (int)Math.Pow(Number, p); 29 | 30 | return v; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Rounder/NumberPowerRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a74b80ae90ac664b9718de779c549fa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/TSCubemapGenerator.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TSCubemapGenerator", 3 | "rootNamespace": "TSCubemapGenerator", 4 | "references": [], 5 | "includePlatforms": [ 6 | "Editor" 7 | ], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [], 14 | "versionDefines": [], 15 | "noEngineReferences": false 16 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/TSCubemapGenerator.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79fca144543ff4548b1d21bb048d0c73 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 238ed110ceeddd94eb2a3bb18a038262 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/CubemapConverterSelector.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator.Window 2 | { 3 | public class CubemapConverterSelector 4 | { 5 | private readonly Cubemap2HorizontalPngConverter _horizontalPngConverter = new Cubemap2HorizontalPngConverter(); 6 | private readonly Cubemap2VerticalPngConverter _verticalPngConverter = new Cubemap2VerticalPngConverter(); 7 | 8 | public ICubemapConverter Select(OutputImageType fileType) 9 | { 10 | switch (fileType) 11 | { 12 | case OutputImageType.HorizontalPng: 13 | return _horizontalPngConverter; 14 | default: 15 | return _verticalPngConverter; 16 | } 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/CubemapConverterSelector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e0713f3395657f46b0ad8aa0cfa1061 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/CubemapGeneratorEditorWindow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using UnityEngine; 4 | using UnityEditor; 5 | 6 | namespace TSCubemapGenerator.Window 7 | { 8 | public class CubemapGeneratorEditorWindow : EditorWindow 9 | { 10 | [MenuItem("TSCubemapGenerator/Open Tool Window")] 11 | public static void ShowWindow() 12 | { 13 | EditorWindow.GetWindow( 14 | t: typeof(CubemapGeneratorEditorWindow), 15 | utility: false, 16 | title: "TSCubemapGenerator"); 17 | } 18 | 19 | private CubemapConverterSelector _cubemapConverterSelector; 20 | private RounderSelector _rounderSelector; 21 | private CycleCubemapRenderer _cycleCubemapRenderer = null; 22 | 23 | private void OnEnable() 24 | { 25 | _cubemapConverterSelector = new CubemapConverterSelector(); 26 | _rounderSelector = new RounderSelector(); 27 | _skyboxMaterial = new Material(Shader.Find(DefaultCubemapShaderPath)); 28 | 29 | EditorApplication.playModeStateChanged += OnPlayModeChanged; 30 | } 31 | 32 | private void OnDisable() 33 | { 34 | EditorApplication.playModeStateChanged -= OnPlayModeChanged; 35 | } 36 | 37 | private void OnPlayModeChanged(PlayModeStateChange _) 38 | { 39 | Reset(); 40 | } 41 | 42 | private void Reset() 43 | { 44 | DisableCycleRendering(); 45 | 46 | _inPreview = false; 47 | _cycleCubemapRenderer = null; 48 | _previousSkyboxMaterial = null; 49 | } 50 | 51 | private Camera _renderCamera = null; 52 | 53 | private Material _cubemapPreviewMaterial = null; 54 | private string _cubemapShaderTextureName = DefaultCubemapShaderTextureName; 55 | 56 | private OutputImageType _imageType = OutputImageType.VerticalPng; 57 | 58 | private bool _inPreview = false; 59 | private bool _realtimeRendering = false; 60 | 61 | private Material _previousSkyboxMaterial = null; 62 | private Material _skyboxMaterial = null; 63 | private Cubemap _renderedCubemap = null; 64 | private SizeType _sizeType = SizeType.None; 65 | private int _size = 512; 66 | 67 | private void OnGUI() 68 | { 69 | _renderCamera = EditorGUILayout.ObjectField("Render Camera", _renderCamera, typeof(Camera), true) as Camera; 70 | 71 | if (EditorApplication.isPlaying) 72 | { 73 | SetStopButton(); 74 | } 75 | else 76 | { 77 | SetStartButton(); 78 | } 79 | 80 | GUI.enabled = true; 81 | 82 | SetSizeLayout(); 83 | SetPreviewLayout(); 84 | SetRenderingLayout(); 85 | SetExportLayout(); 86 | 87 | GUI.enabled = true; 88 | } 89 | 90 | private void SetStandardSpace() 91 | { 92 | EditorGUILayout.Space(8); 93 | } 94 | 95 | private void SetStartButton() 96 | { 97 | if (!GUILayout.Button("Start")) 98 | { 99 | return; 100 | } 101 | 102 | EditorApplication.isPlaying = true; 103 | } 104 | 105 | private void SetStopButton() 106 | { 107 | if (!GUILayout.Button("Stop")) 108 | { 109 | return; 110 | } 111 | 112 | EditorApplication.isPlaying = false; 113 | } 114 | 115 | private void SetSizeLayout() 116 | { 117 | SetStandardSpace(); 118 | GUILayout.Label("Size", EditorStyles.boldLabel); 119 | _sizeType = (SizeType)EditorGUILayout.EnumPopup("Size Type", _sizeType); 120 | var rounder = _rounderSelector.Select(_sizeType); 121 | 122 | _size = EditorGUILayout.IntSlider("Size", _size, SizeRange.x, SizeRange.y); 123 | _size = rounder.Round(_size); 124 | GUILayout.Label($"{_size} x {_size} x 6 Rects", EditorStyles.label); 125 | SetStandardSpace(); 126 | } 127 | 128 | private void SetPreviewLayout() 129 | { 130 | GUILayout.Label("Preview", EditorStyles.boldLabel); 131 | _cubemapPreviewMaterial = EditorGUILayout.ObjectField("Preview Material", _cubemapPreviewMaterial, typeof(Material), true) as Material; 132 | _cubemapShaderTextureName = EditorGUILayout.TextField("Shader Texture Property", _cubemapShaderTextureName); 133 | 134 | bool lastEnabled = GUI.enabled; 135 | GUI.enabled = CheckRenderable(); 136 | 137 | if (GUILayout.Button(_inPreview ? "Revert Skybox" : "Set Material Preview as Skybox")) 138 | { 139 | TogglePreview(); 140 | } 141 | 142 | GUI.enabled = lastEnabled; 143 | } 144 | 145 | private void SetRenderingLayout() 146 | { 147 | SetStandardSpace(); 148 | GUILayout.Label("Rendering", EditorStyles.boldLabel); 149 | 150 | bool lastEnabled = GUI.enabled; 151 | GUI.enabled = CheckRenderable(); 152 | 153 | if (GUILayout.Button("Render Cubemap")) 154 | { 155 | RenderCubemap(); 156 | } 157 | 158 | SetStandardSpace(); 159 | if (GUILayout.Button(_realtimeRendering ? "Disable Realtime Rendering" : "Enbable Realtime Rendering")) 160 | { 161 | ToggleCycleRendering(); 162 | } 163 | 164 | GUI.enabled = lastEnabled; 165 | } 166 | 167 | private void SetExportLayout() 168 | { 169 | SetStandardSpace(); 170 | GUILayout.Label("Export", EditorStyles.boldLabel); 171 | 172 | _imageType = (OutputImageType)EditorGUILayout.EnumPopup("Image Type", _imageType); 173 | 174 | bool lastEnabled = GUI.enabled; 175 | GUI.enabled = CheckExportable(); 176 | if (GUILayout.Button("Export Cubemap to File")) 177 | { 178 | ExportCubemap(); 179 | } 180 | 181 | GUILayout.Label(text: "Export requires \"Render Cubemap\"", style: EditorStyles.miniBoldLabel); 182 | 183 | GUI.enabled = lastEnabled; 184 | } 185 | 186 | private bool CheckRenderable() 187 | { 188 | return EditorApplication.isPlaying && _cubemapPreviewMaterial; 189 | } 190 | 191 | private bool CheckHasRendered() 192 | { 193 | return _renderedCubemap != null; 194 | } 195 | 196 | private bool CheckExportable() 197 | { 198 | return CheckRenderable() 199 | && CheckHasRendered(); 200 | } 201 | 202 | private void TogglePreview() 203 | { 204 | _inPreview = !_inPreview; 205 | 206 | if (_inPreview) 207 | { 208 | _previousSkyboxMaterial = RenderSettings.skybox; 209 | RenderSettings.skybox = _skyboxMaterial; 210 | } 211 | else 212 | { 213 | RenderSettings.skybox = _previousSkyboxMaterial; 214 | _previousSkyboxMaterial = null; 215 | } 216 | } 217 | 218 | private void ToggleCycleRendering() 219 | { 220 | bool next = !_realtimeRendering; 221 | if (next) 222 | { 223 | EnableCycleRendering(); 224 | } 225 | else 226 | { 227 | DisableCycleRendering(); 228 | } 229 | } 230 | 231 | private void RenderCubemap() 232 | { 233 | if (!_renderCamera) 234 | { 235 | Debug.LogWarning("Camera isn't set. Specify a camera to render a cubemap."); 236 | return; 237 | } 238 | 239 | if (!_renderedCubemap || (_renderedCubemap.width != _size)) 240 | { 241 | RefreshCubemap(); 242 | } 243 | 244 | _renderCamera.RenderToCubemap(_renderedCubemap); 245 | } 246 | 247 | private void RefreshCubemap() 248 | { 249 | if (_renderedCubemap) 250 | { 251 | GameObject.DestroyImmediate(_renderedCubemap); 252 | } 253 | 254 | _renderedCubemap = new Cubemap(_size, TextureFormat.RGB24, false); 255 | _skyboxMaterial.SetTexture(DefaultCubemapShaderTextureName, _renderedCubemap); 256 | } 257 | 258 | private void ExportCubemap() 259 | { 260 | if (!_renderedCubemap) 261 | { 262 | Debug.LogWarning("Cubemap isn't rendered."); 263 | return; 264 | } 265 | 266 | string imagePath = EditorUtility.SaveFilePanel( 267 | title: "Save Image", 268 | directory: "", 269 | defaultName: "Cubemap.png", 270 | extension: "png"); 271 | 272 | if (imagePath == null || imagePath == "") 273 | { 274 | return; 275 | } 276 | 277 | var converter = _cubemapConverterSelector.Select(_imageType); 278 | byte[] pngBytes = converter.ConvertFrom(_renderedCubemap); 279 | File.WriteAllBytes(imagePath, pngBytes); 280 | 281 | if (imagePath.StartsWith(Application.dataPath)) 282 | { 283 | ReimportTextureAsCubemap(imagePath); 284 | } 285 | AssetDatabase.Refresh(); 286 | } 287 | 288 | private static void ReimportTextureAsCubemap(string imageAbsolutePath) 289 | { 290 | AssetDatabase.Refresh(); 291 | 292 | var relativeImagePath = "Assets" + imageAbsolutePath.Substring(Application.dataPath.Length); 293 | var importer = AssetImporter.GetAtPath(relativeImagePath) as TextureImporter; 294 | 295 | importer.textureType = TextureImporterType.Default; 296 | importer.textureShape = TextureImporterShape.TextureCube; 297 | importer.generateCubemap = TextureImporterGenerateCubemap.FullCubemap; 298 | 299 | importer.SaveAndReimport(); 300 | } 301 | 302 | private void EnableCycleRendering() 303 | { 304 | _realtimeRendering = true; 305 | if (_cycleCubemapRenderer) 306 | { 307 | return; 308 | } 309 | 310 | var go = new GameObject("CycleCubemapRenderer") 311 | { 312 | hideFlags = HideFlags.HideAndDontSave 313 | }; 314 | _cycleCubemapRenderer = go.AddComponent(); 315 | _cycleCubemapRenderer.Render = RenderCubemap; 316 | } 317 | 318 | private void DisableCycleRendering() 319 | { 320 | _realtimeRendering = false; 321 | if (_cycleCubemapRenderer) 322 | { 323 | GameObject.DestroyImmediate(_cycleCubemapRenderer.gameObject); 324 | _cycleCubemapRenderer = null; 325 | } 326 | } 327 | 328 | private class CycleCubemapRenderer : MonoBehaviour 329 | { 330 | public Action Render { get; internal set; } = null; 331 | 332 | private void LateUpdate() => Render?.Invoke(); 333 | } 334 | 335 | private const string DefaultCubemapShaderPath = "Skybox/Cubemap"; 336 | private const string DefaultCubemapShaderTextureName = "_Tex"; 337 | private readonly Vector2Int SizeRange = new Vector2Int(16, 1024 * 8); 338 | } 339 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/CubemapGeneratorEditorWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 930559c970e020f428cfd00f7c8fd012 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/RounderSelector.cs: -------------------------------------------------------------------------------- 1 | namespace TSCubemapGenerator.Window 2 | { 3 | public class RounderSelector 4 | { 5 | private readonly NumberMultipleRounder _numberMultipleRounder = new NumberMultipleRounder(number: 4); 6 | private readonly NumberPowerRounder _numberPowerRounder = new NumberPowerRounder(number: 2); 7 | private readonly SkipRounder _skipRounder = new SkipRounder(); 8 | 9 | public IRounder Select(SizeType sizeType) 10 | { 11 | switch (sizeType) 12 | { 13 | case SizeType.MultipleOf4: 14 | return _numberMultipleRounder; 15 | case SizeType.PowerOf2: 16 | return _numberPowerRounder; 17 | default: 18 | return _skipRounder; 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Editor/Window/RounderSelector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c36e3f4ce094df0449610fc59cb4110b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e45352031b5a1f49ba2ec74a37cddc6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Materials/PreviewSkybox.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: PreviewSkybox 11 | m_Shader: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | - _Tex: 59 | m_Texture: {fileID: 0} 60 | m_Scale: {x: 1, y: 1} 61 | m_Offset: {x: 0, y: 0} 62 | m_Floats: 63 | - _BumpScale: 1 64 | - _Cutoff: 0.5 65 | - _DetailNormalMapScale: 1 66 | - _DstBlend: 0 67 | - _Exposure: 1 68 | - _GlossMapScale: 1 69 | - _Glossiness: 0.5 70 | - _GlossyReflections: 1 71 | - _Metallic: 0 72 | - _Mode: 0 73 | - _OcclusionStrength: 1 74 | - _Parallax: 0.02 75 | - _Rotation: 0 76 | - _SmoothnessTextureChannel: 0 77 | - _SpecularHighlights: 1 78 | - _SrcBlend: 1 79 | - _UVSec: 0 80 | - _ZWrite: 1 81 | m_Colors: 82 | - _Color: {r: 1, g: 1, b: 1, a: 1} 83 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 84 | - _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 85 | m_BuildTextureStacks: [] 86 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/Materials/PreviewSkybox.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2ea8c469a4ba704283c086f82bd7157 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.tsgcpp.tscubemapgenerator", 3 | "version": "1.0.0", 4 | "displayName": "TSCubemapGenerator", 5 | "description": "Cubemap generation (scene baking) tool.", 6 | "unity": "2019.4", 7 | "keywords": [ 8 | "cubemap" 9 | ], 10 | "license": "MIT", 11 | "dependencies": {}, 12 | "author": { 13 | "name": "tsgcpp", 14 | "url": "https://github.com/tsgcpp" 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/Plugins/TSCubemapGenerator/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57d48231c076c0c438aa054a490fbba0 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72a041af3bc79df4d9e9c87286be5451 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ac62b8e585410b49b7e6f6f2387b96b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Capsule.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Capsule 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0, g: 0, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Capsule.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 951104f5037953841868e5b02e4bb609 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Cube.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Cube 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Cube.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1580139f08052124f9cd7cade286b3eb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Cylinder.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Cylinder 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0, g: 1, b: 0, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Cylinder.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87f5da8119a8081429ef553e19255087 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Floor.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Floor 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Floor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52852187980730546affa5a655a9c24b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Sphere.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Sphere 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 0, b: 0, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Scenes/Materials/Sphere.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13d4820af74280f4da2de8aa9d92159d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 112000000, guid: f54607e388b69b947bba697ca18a1496, 101 | type: 2} 102 | m_LightingSettings: {fileID: 4890085278179872738, guid: 88b77a7bf5248334fb7a04752db9680d, 103 | type: 2} 104 | --- !u!196 &4 105 | NavMeshSettings: 106 | serializedVersion: 2 107 | m_ObjectHideFlags: 0 108 | m_BuildSettings: 109 | serializedVersion: 2 110 | agentTypeID: 0 111 | agentRadius: 0.5 112 | agentHeight: 2 113 | agentSlope: 45 114 | agentClimb: 0.4 115 | ledgeDropHeight: 0 116 | maxJumpAcrossDistance: 0 117 | minRegionArea: 2 118 | manualCellSize: 0 119 | cellSize: 0.16666667 120 | manualTileSize: 0 121 | tileSize: 256 122 | accuratePlacement: 0 123 | maxJobWorkers: 0 124 | preserveTilesOutsideBounds: 0 125 | debug: 126 | m_Flags: 0 127 | m_NavMeshData: {fileID: 0} 128 | --- !u!1 &407529296 129 | GameObject: 130 | m_ObjectHideFlags: 0 131 | m_CorrespondingSourceObject: {fileID: 0} 132 | m_PrefabInstance: {fileID: 0} 133 | m_PrefabAsset: {fileID: 0} 134 | serializedVersion: 6 135 | m_Component: 136 | - component: {fileID: 407529297} 137 | - component: {fileID: 407529300} 138 | - component: {fileID: 407529299} 139 | - component: {fileID: 407529298} 140 | m_Layer: 0 141 | m_Name: Sphere 142 | m_TagString: Untagged 143 | m_Icon: {fileID: 0} 144 | m_NavMeshLayer: 0 145 | m_StaticEditorFlags: 0 146 | m_IsActive: 1 147 | --- !u!4 &407529297 148 | Transform: 149 | m_ObjectHideFlags: 0 150 | m_CorrespondingSourceObject: {fileID: 0} 151 | m_PrefabInstance: {fileID: 0} 152 | m_PrefabAsset: {fileID: 0} 153 | m_GameObject: {fileID: 407529296} 154 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 155 | m_LocalPosition: {x: 0.5, y: 5.25, z: -1} 156 | m_LocalScale: {x: 1, y: 1, z: 1} 157 | m_Children: [] 158 | m_Father: {fileID: 1515123041} 159 | m_RootOrder: 2 160 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 161 | --- !u!135 &407529298 162 | SphereCollider: 163 | m_ObjectHideFlags: 0 164 | m_CorrespondingSourceObject: {fileID: 0} 165 | m_PrefabInstance: {fileID: 0} 166 | m_PrefabAsset: {fileID: 0} 167 | m_GameObject: {fileID: 407529296} 168 | m_Material: {fileID: 0} 169 | m_IsTrigger: 0 170 | m_Enabled: 1 171 | serializedVersion: 2 172 | m_Radius: 0.5 173 | m_Center: {x: 0, y: 0, z: 0} 174 | --- !u!23 &407529299 175 | MeshRenderer: 176 | m_ObjectHideFlags: 0 177 | m_CorrespondingSourceObject: {fileID: 0} 178 | m_PrefabInstance: {fileID: 0} 179 | m_PrefabAsset: {fileID: 0} 180 | m_GameObject: {fileID: 407529296} 181 | m_Enabled: 1 182 | m_CastShadows: 1 183 | m_ReceiveShadows: 1 184 | m_DynamicOccludee: 1 185 | m_MotionVectors: 1 186 | m_LightProbeUsage: 1 187 | m_ReflectionProbeUsage: 1 188 | m_RayTracingMode: 2 189 | m_RayTraceProcedural: 0 190 | m_RenderingLayerMask: 1 191 | m_RendererPriority: 0 192 | m_Materials: 193 | - {fileID: 2100000, guid: 13d4820af74280f4da2de8aa9d92159d, type: 2} 194 | m_StaticBatchInfo: 195 | firstSubMesh: 0 196 | subMeshCount: 0 197 | m_StaticBatchRoot: {fileID: 0} 198 | m_ProbeAnchor: {fileID: 0} 199 | m_LightProbeVolumeOverride: {fileID: 0} 200 | m_ScaleInLightmap: 1 201 | m_ReceiveGI: 1 202 | m_PreserveUVs: 0 203 | m_IgnoreNormalsForChartDetection: 0 204 | m_ImportantGI: 0 205 | m_StitchLightmapSeams: 1 206 | m_SelectedEditorRenderState: 3 207 | m_MinimumChartSize: 4 208 | m_AutoUVMaxDistance: 0.5 209 | m_AutoUVMaxAngle: 89 210 | m_LightmapParameters: {fileID: 0} 211 | m_SortingLayerID: 0 212 | m_SortingLayer: 0 213 | m_SortingOrder: 0 214 | m_AdditionalVertexStreams: {fileID: 0} 215 | --- !u!33 &407529300 216 | MeshFilter: 217 | m_ObjectHideFlags: 0 218 | m_CorrespondingSourceObject: {fileID: 0} 219 | m_PrefabInstance: {fileID: 0} 220 | m_PrefabAsset: {fileID: 0} 221 | m_GameObject: {fileID: 407529296} 222 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 223 | --- !u!1 &705507993 224 | GameObject: 225 | m_ObjectHideFlags: 0 226 | m_CorrespondingSourceObject: {fileID: 0} 227 | m_PrefabInstance: {fileID: 0} 228 | m_PrefabAsset: {fileID: 0} 229 | serializedVersion: 6 230 | m_Component: 231 | - component: {fileID: 705507995} 232 | - component: {fileID: 705507994} 233 | m_Layer: 0 234 | m_Name: Directional Light 235 | m_TagString: Untagged 236 | m_Icon: {fileID: 0} 237 | m_NavMeshLayer: 0 238 | m_StaticEditorFlags: 0 239 | m_IsActive: 1 240 | --- !u!108 &705507994 241 | Light: 242 | m_ObjectHideFlags: 0 243 | m_CorrespondingSourceObject: {fileID: 0} 244 | m_PrefabInstance: {fileID: 0} 245 | m_PrefabAsset: {fileID: 0} 246 | m_GameObject: {fileID: 705507993} 247 | m_Enabled: 1 248 | serializedVersion: 10 249 | m_Type: 1 250 | m_Shape: 0 251 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 252 | m_Intensity: 1 253 | m_Range: 10 254 | m_SpotAngle: 30 255 | m_InnerSpotAngle: 21.80208 256 | m_CookieSize: 10 257 | m_Shadows: 258 | m_Type: 2 259 | m_Resolution: -1 260 | m_CustomResolution: -1 261 | m_Strength: 1 262 | m_Bias: 0.05 263 | m_NormalBias: 0.4 264 | m_NearPlane: 0.2 265 | m_CullingMatrixOverride: 266 | e00: 1 267 | e01: 0 268 | e02: 0 269 | e03: 0 270 | e10: 0 271 | e11: 1 272 | e12: 0 273 | e13: 0 274 | e20: 0 275 | e21: 0 276 | e22: 1 277 | e23: 0 278 | e30: 0 279 | e31: 0 280 | e32: 0 281 | e33: 1 282 | m_UseCullingMatrixOverride: 0 283 | m_Cookie: {fileID: 0} 284 | m_DrawHalo: 0 285 | m_Flare: {fileID: 0} 286 | m_RenderMode: 0 287 | m_CullingMask: 288 | serializedVersion: 2 289 | m_Bits: 4294967295 290 | m_RenderingLayerMask: 1 291 | m_Lightmapping: 1 292 | m_LightShadowCasterMode: 0 293 | m_AreaSize: {x: 1, y: 1} 294 | m_BounceIntensity: 1 295 | m_ColorTemperature: 6570 296 | m_UseColorTemperature: 0 297 | m_BoundingSphereOverride: {x: 7.17e-43, y: 5.149192e-10, z: 7.17e-43, w: 9.499548e-10} 298 | m_UseBoundingSphereOverride: 0 299 | m_UseViewFrustumForShadowCasterCull: 1 300 | m_ShadowRadius: 0 301 | m_ShadowAngle: 0 302 | --- !u!4 &705507995 303 | Transform: 304 | m_ObjectHideFlags: 0 305 | m_CorrespondingSourceObject: {fileID: 0} 306 | m_PrefabInstance: {fileID: 0} 307 | m_PrefabAsset: {fileID: 0} 308 | m_GameObject: {fileID: 705507993} 309 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 310 | m_LocalPosition: {x: 0, y: 3, z: 0} 311 | m_LocalScale: {x: 1, y: 1, z: 1} 312 | m_Children: [] 313 | m_Father: {fileID: 0} 314 | m_RootOrder: 1 315 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 316 | --- !u!1 &963194225 317 | GameObject: 318 | m_ObjectHideFlags: 0 319 | m_CorrespondingSourceObject: {fileID: 0} 320 | m_PrefabInstance: {fileID: 0} 321 | m_PrefabAsset: {fileID: 0} 322 | serializedVersion: 6 323 | m_Component: 324 | - component: {fileID: 963194228} 325 | - component: {fileID: 963194227} 326 | - component: {fileID: 963194226} 327 | - component: {fileID: 963194229} 328 | m_Layer: 0 329 | m_Name: CubemapRenderCamera 330 | m_TagString: Untagged 331 | m_Icon: {fileID: 0} 332 | m_NavMeshLayer: 0 333 | m_StaticEditorFlags: 0 334 | m_IsActive: 1 335 | --- !u!81 &963194226 336 | AudioListener: 337 | m_ObjectHideFlags: 0 338 | m_CorrespondingSourceObject: {fileID: 0} 339 | m_PrefabInstance: {fileID: 0} 340 | m_PrefabAsset: {fileID: 0} 341 | m_GameObject: {fileID: 963194225} 342 | m_Enabled: 1 343 | --- !u!20 &963194227 344 | Camera: 345 | m_ObjectHideFlags: 0 346 | m_CorrespondingSourceObject: {fileID: 0} 347 | m_PrefabInstance: {fileID: 0} 348 | m_PrefabAsset: {fileID: 0} 349 | m_GameObject: {fileID: 963194225} 350 | m_Enabled: 1 351 | serializedVersion: 2 352 | m_ClearFlags: 1 353 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 354 | m_projectionMatrixMode: 1 355 | m_GateFitMode: 2 356 | m_FOVAxisMode: 0 357 | m_SensorSize: {x: 36, y: 24} 358 | m_LensShift: {x: 0, y: 0} 359 | m_FocalLength: 50 360 | m_NormalizedViewPortRect: 361 | serializedVersion: 2 362 | x: 0 363 | y: 0 364 | width: 1 365 | height: 1 366 | near clip plane: 0.3 367 | far clip plane: 1000 368 | field of view: 60 369 | orthographic: 0 370 | orthographic size: 5 371 | m_Depth: -1 372 | m_CullingMask: 373 | serializedVersion: 2 374 | m_Bits: 4294967295 375 | m_RenderingPath: -1 376 | m_TargetTexture: {fileID: 0} 377 | m_TargetDisplay: 0 378 | m_TargetEye: 3 379 | m_HDR: 1 380 | m_AllowMSAA: 1 381 | m_AllowDynamicResolution: 0 382 | m_ForceIntoRT: 0 383 | m_OcclusionCulling: 1 384 | m_StereoConvergence: 10 385 | m_StereoSeparation: 0.022 386 | --- !u!4 &963194228 387 | Transform: 388 | m_ObjectHideFlags: 0 389 | m_CorrespondingSourceObject: {fileID: 0} 390 | m_PrefabInstance: {fileID: 0} 391 | m_PrefabAsset: {fileID: 0} 392 | m_GameObject: {fileID: 963194225} 393 | m_LocalRotation: {x: -0, y: 1, z: -0, w: 0} 394 | m_LocalPosition: {x: 0, y: 5, z: 20} 395 | m_LocalScale: {x: 1, y: 1, z: 1} 396 | m_Children: [] 397 | m_Father: {fileID: 0} 398 | m_RootOrder: 0 399 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 400 | --- !u!45 &963194229 401 | Skybox: 402 | m_ObjectHideFlags: 0 403 | m_CorrespondingSourceObject: {fileID: 0} 404 | m_PrefabInstance: {fileID: 0} 405 | m_PrefabAsset: {fileID: 0} 406 | m_GameObject: {fileID: 963194225} 407 | m_Enabled: 1 408 | m_CustomSkybox: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 409 | --- !u!1 &1251415783 410 | GameObject: 411 | m_ObjectHideFlags: 0 412 | m_CorrespondingSourceObject: {fileID: 0} 413 | m_PrefabInstance: {fileID: 0} 414 | m_PrefabAsset: {fileID: 0} 415 | serializedVersion: 6 416 | m_Component: 417 | - component: {fileID: 1251415784} 418 | - component: {fileID: 1251415787} 419 | - component: {fileID: 1251415786} 420 | - component: {fileID: 1251415785} 421 | m_Layer: 0 422 | m_Name: Cylinder 423 | m_TagString: Untagged 424 | m_Icon: {fileID: 0} 425 | m_NavMeshLayer: 0 426 | m_StaticEditorFlags: 0 427 | m_IsActive: 1 428 | --- !u!4 &1251415784 429 | Transform: 430 | m_ObjectHideFlags: 0 431 | m_CorrespondingSourceObject: {fileID: 0} 432 | m_PrefabInstance: {fileID: 0} 433 | m_PrefabAsset: {fileID: 0} 434 | m_GameObject: {fileID: 1251415783} 435 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 436 | m_LocalPosition: {x: -3, y: 1, z: -1} 437 | m_LocalScale: {x: 1, y: 1, z: 1} 438 | m_Children: [] 439 | m_Father: {fileID: 1515123041} 440 | m_RootOrder: 3 441 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 442 | --- !u!136 &1251415785 443 | CapsuleCollider: 444 | m_ObjectHideFlags: 0 445 | m_CorrespondingSourceObject: {fileID: 0} 446 | m_PrefabInstance: {fileID: 0} 447 | m_PrefabAsset: {fileID: 0} 448 | m_GameObject: {fileID: 1251415783} 449 | m_Material: {fileID: 0} 450 | m_IsTrigger: 0 451 | m_Enabled: 1 452 | m_Radius: 0.5000001 453 | m_Height: 2 454 | m_Direction: 1 455 | m_Center: {x: 0.000000059604645, y: 0, z: -0.00000008940697} 456 | --- !u!23 &1251415786 457 | MeshRenderer: 458 | m_ObjectHideFlags: 0 459 | m_CorrespondingSourceObject: {fileID: 0} 460 | m_PrefabInstance: {fileID: 0} 461 | m_PrefabAsset: {fileID: 0} 462 | m_GameObject: {fileID: 1251415783} 463 | m_Enabled: 1 464 | m_CastShadows: 1 465 | m_ReceiveShadows: 1 466 | m_DynamicOccludee: 1 467 | m_MotionVectors: 1 468 | m_LightProbeUsage: 1 469 | m_ReflectionProbeUsage: 1 470 | m_RayTracingMode: 2 471 | m_RayTraceProcedural: 0 472 | m_RenderingLayerMask: 1 473 | m_RendererPriority: 0 474 | m_Materials: 475 | - {fileID: 2100000, guid: 87f5da8119a8081429ef553e19255087, type: 2} 476 | m_StaticBatchInfo: 477 | firstSubMesh: 0 478 | subMeshCount: 0 479 | m_StaticBatchRoot: {fileID: 0} 480 | m_ProbeAnchor: {fileID: 0} 481 | m_LightProbeVolumeOverride: {fileID: 0} 482 | m_ScaleInLightmap: 1 483 | m_ReceiveGI: 1 484 | m_PreserveUVs: 0 485 | m_IgnoreNormalsForChartDetection: 0 486 | m_ImportantGI: 0 487 | m_StitchLightmapSeams: 1 488 | m_SelectedEditorRenderState: 3 489 | m_MinimumChartSize: 4 490 | m_AutoUVMaxDistance: 0.5 491 | m_AutoUVMaxAngle: 89 492 | m_LightmapParameters: {fileID: 0} 493 | m_SortingLayerID: 0 494 | m_SortingLayer: 0 495 | m_SortingOrder: 0 496 | m_AdditionalVertexStreams: {fileID: 0} 497 | --- !u!33 &1251415787 498 | MeshFilter: 499 | m_ObjectHideFlags: 0 500 | m_CorrespondingSourceObject: {fileID: 0} 501 | m_PrefabInstance: {fileID: 0} 502 | m_PrefabAsset: {fileID: 0} 503 | m_GameObject: {fileID: 1251415783} 504 | m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} 505 | --- !u!1 &1515123040 506 | GameObject: 507 | m_ObjectHideFlags: 0 508 | m_CorrespondingSourceObject: {fileID: 0} 509 | m_PrefabInstance: {fileID: 0} 510 | m_PrefabAsset: {fileID: 0} 511 | serializedVersion: 6 512 | m_Component: 513 | - component: {fileID: 1515123041} 514 | m_Layer: 0 515 | m_Name: Stage 516 | m_TagString: Untagged 517 | m_Icon: {fileID: 0} 518 | m_NavMeshLayer: 0 519 | m_StaticEditorFlags: 0 520 | m_IsActive: 1 521 | --- !u!4 &1515123041 522 | Transform: 523 | m_ObjectHideFlags: 0 524 | m_CorrespondingSourceObject: {fileID: 0} 525 | m_PrefabInstance: {fileID: 0} 526 | m_PrefabAsset: {fileID: 0} 527 | m_GameObject: {fileID: 1515123040} 528 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 529 | m_LocalPosition: {x: 2.25, y: 0, z: 7.5} 530 | m_LocalScale: {x: 1, y: 1, z: 1} 531 | m_Children: 532 | - {fileID: 1926094637} 533 | - {fileID: 1955403685} 534 | - {fileID: 407529297} 535 | - {fileID: 1251415784} 536 | - {fileID: 1827856105} 537 | m_Father: {fileID: 0} 538 | m_RootOrder: 2 539 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 540 | --- !u!1 &1827856104 541 | GameObject: 542 | m_ObjectHideFlags: 0 543 | m_CorrespondingSourceObject: {fileID: 0} 544 | m_PrefabInstance: {fileID: 0} 545 | m_PrefabAsset: {fileID: 0} 546 | serializedVersion: 6 547 | m_Component: 548 | - component: {fileID: 1827856105} 549 | - component: {fileID: 1827856108} 550 | - component: {fileID: 1827856107} 551 | - component: {fileID: 1827856106} 552 | m_Layer: 0 553 | m_Name: Capsule 554 | m_TagString: Untagged 555 | m_Icon: {fileID: 0} 556 | m_NavMeshLayer: 0 557 | m_StaticEditorFlags: 0 558 | m_IsActive: 1 559 | --- !u!4 &1827856105 560 | Transform: 561 | m_ObjectHideFlags: 0 562 | m_CorrespondingSourceObject: {fileID: 0} 563 | m_PrefabInstance: {fileID: 0} 564 | m_PrefabAsset: {fileID: 0} 565 | m_GameObject: {fileID: 1827856104} 566 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 567 | m_LocalPosition: {x: 3, y: 1, z: -2.5} 568 | m_LocalScale: {x: 1, y: 1, z: 1} 569 | m_Children: [] 570 | m_Father: {fileID: 1515123041} 571 | m_RootOrder: 4 572 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 573 | --- !u!136 &1827856106 574 | CapsuleCollider: 575 | m_ObjectHideFlags: 0 576 | m_CorrespondingSourceObject: {fileID: 0} 577 | m_PrefabInstance: {fileID: 0} 578 | m_PrefabAsset: {fileID: 0} 579 | m_GameObject: {fileID: 1827856104} 580 | m_Material: {fileID: 0} 581 | m_IsTrigger: 0 582 | m_Enabled: 1 583 | m_Radius: 0.5 584 | m_Height: 2 585 | m_Direction: 1 586 | m_Center: {x: 0, y: 0, z: 0} 587 | --- !u!23 &1827856107 588 | MeshRenderer: 589 | m_ObjectHideFlags: 0 590 | m_CorrespondingSourceObject: {fileID: 0} 591 | m_PrefabInstance: {fileID: 0} 592 | m_PrefabAsset: {fileID: 0} 593 | m_GameObject: {fileID: 1827856104} 594 | m_Enabled: 1 595 | m_CastShadows: 1 596 | m_ReceiveShadows: 1 597 | m_DynamicOccludee: 1 598 | m_MotionVectors: 1 599 | m_LightProbeUsage: 1 600 | m_ReflectionProbeUsage: 1 601 | m_RayTracingMode: 2 602 | m_RayTraceProcedural: 0 603 | m_RenderingLayerMask: 1 604 | m_RendererPriority: 0 605 | m_Materials: 606 | - {fileID: 2100000, guid: 951104f5037953841868e5b02e4bb609, type: 2} 607 | m_StaticBatchInfo: 608 | firstSubMesh: 0 609 | subMeshCount: 0 610 | m_StaticBatchRoot: {fileID: 0} 611 | m_ProbeAnchor: {fileID: 0} 612 | m_LightProbeVolumeOverride: {fileID: 0} 613 | m_ScaleInLightmap: 1 614 | m_ReceiveGI: 1 615 | m_PreserveUVs: 0 616 | m_IgnoreNormalsForChartDetection: 0 617 | m_ImportantGI: 0 618 | m_StitchLightmapSeams: 1 619 | m_SelectedEditorRenderState: 3 620 | m_MinimumChartSize: 4 621 | m_AutoUVMaxDistance: 0.5 622 | m_AutoUVMaxAngle: 89 623 | m_LightmapParameters: {fileID: 0} 624 | m_SortingLayerID: 0 625 | m_SortingLayer: 0 626 | m_SortingOrder: 0 627 | m_AdditionalVertexStreams: {fileID: 0} 628 | --- !u!33 &1827856108 629 | MeshFilter: 630 | m_ObjectHideFlags: 0 631 | m_CorrespondingSourceObject: {fileID: 0} 632 | m_PrefabInstance: {fileID: 0} 633 | m_PrefabAsset: {fileID: 0} 634 | m_GameObject: {fileID: 1827856104} 635 | m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} 636 | --- !u!1 &1926094636 637 | GameObject: 638 | m_ObjectHideFlags: 0 639 | m_CorrespondingSourceObject: {fileID: 0} 640 | m_PrefabInstance: {fileID: 0} 641 | m_PrefabAsset: {fileID: 0} 642 | serializedVersion: 6 643 | m_Component: 644 | - component: {fileID: 1926094637} 645 | - component: {fileID: 1926094640} 646 | - component: {fileID: 1926094639} 647 | - component: {fileID: 1926094638} 648 | m_Layer: 0 649 | m_Name: Plane 650 | m_TagString: Untagged 651 | m_Icon: {fileID: 0} 652 | m_NavMeshLayer: 0 653 | m_StaticEditorFlags: 0 654 | m_IsActive: 1 655 | --- !u!4 &1926094637 656 | Transform: 657 | m_ObjectHideFlags: 0 658 | m_CorrespondingSourceObject: {fileID: 0} 659 | m_PrefabInstance: {fileID: 0} 660 | m_PrefabAsset: {fileID: 0} 661 | m_GameObject: {fileID: 1926094636} 662 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 663 | m_LocalPosition: {x: 0, y: 0, z: 0} 664 | m_LocalScale: {x: 1, y: 1, z: 1} 665 | m_Children: [] 666 | m_Father: {fileID: 1515123041} 667 | m_RootOrder: 0 668 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 669 | --- !u!64 &1926094638 670 | MeshCollider: 671 | m_ObjectHideFlags: 0 672 | m_CorrespondingSourceObject: {fileID: 0} 673 | m_PrefabInstance: {fileID: 0} 674 | m_PrefabAsset: {fileID: 0} 675 | m_GameObject: {fileID: 1926094636} 676 | m_Material: {fileID: 0} 677 | m_IsTrigger: 0 678 | m_Enabled: 1 679 | serializedVersion: 4 680 | m_Convex: 0 681 | m_CookingOptions: 30 682 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 683 | --- !u!23 &1926094639 684 | MeshRenderer: 685 | m_ObjectHideFlags: 0 686 | m_CorrespondingSourceObject: {fileID: 0} 687 | m_PrefabInstance: {fileID: 0} 688 | m_PrefabAsset: {fileID: 0} 689 | m_GameObject: {fileID: 1926094636} 690 | m_Enabled: 1 691 | m_CastShadows: 1 692 | m_ReceiveShadows: 1 693 | m_DynamicOccludee: 1 694 | m_MotionVectors: 1 695 | m_LightProbeUsage: 1 696 | m_ReflectionProbeUsage: 1 697 | m_RayTracingMode: 2 698 | m_RayTraceProcedural: 0 699 | m_RenderingLayerMask: 1 700 | m_RendererPriority: 0 701 | m_Materials: 702 | - {fileID: 2100000, guid: 52852187980730546affa5a655a9c24b, type: 2} 703 | m_StaticBatchInfo: 704 | firstSubMesh: 0 705 | subMeshCount: 0 706 | m_StaticBatchRoot: {fileID: 0} 707 | m_ProbeAnchor: {fileID: 0} 708 | m_LightProbeVolumeOverride: {fileID: 0} 709 | m_ScaleInLightmap: 1 710 | m_ReceiveGI: 1 711 | m_PreserveUVs: 0 712 | m_IgnoreNormalsForChartDetection: 0 713 | m_ImportantGI: 0 714 | m_StitchLightmapSeams: 1 715 | m_SelectedEditorRenderState: 3 716 | m_MinimumChartSize: 4 717 | m_AutoUVMaxDistance: 0.5 718 | m_AutoUVMaxAngle: 89 719 | m_LightmapParameters: {fileID: 0} 720 | m_SortingLayerID: 0 721 | m_SortingLayer: 0 722 | m_SortingOrder: 0 723 | m_AdditionalVertexStreams: {fileID: 0} 724 | --- !u!33 &1926094640 725 | MeshFilter: 726 | m_ObjectHideFlags: 0 727 | m_CorrespondingSourceObject: {fileID: 0} 728 | m_PrefabInstance: {fileID: 0} 729 | m_PrefabAsset: {fileID: 0} 730 | m_GameObject: {fileID: 1926094636} 731 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 732 | --- !u!1 &1955403684 733 | GameObject: 734 | m_ObjectHideFlags: 0 735 | m_CorrespondingSourceObject: {fileID: 0} 736 | m_PrefabInstance: {fileID: 0} 737 | m_PrefabAsset: {fileID: 0} 738 | serializedVersion: 6 739 | m_Component: 740 | - component: {fileID: 1955403685} 741 | - component: {fileID: 1955403688} 742 | - component: {fileID: 1955403687} 743 | - component: {fileID: 1955403686} 744 | m_Layer: 0 745 | m_Name: Cube 746 | m_TagString: Untagged 747 | m_Icon: {fileID: 0} 748 | m_NavMeshLayer: 0 749 | m_StaticEditorFlags: 0 750 | m_IsActive: 1 751 | --- !u!4 &1955403685 752 | Transform: 753 | m_ObjectHideFlags: 0 754 | m_CorrespondingSourceObject: {fileID: 0} 755 | m_PrefabInstance: {fileID: 0} 756 | m_PrefabAsset: {fileID: 0} 757 | m_GameObject: {fileID: 1955403684} 758 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 759 | m_LocalPosition: {x: 2.25, y: 0.75, z: 2} 760 | m_LocalScale: {x: 1, y: 1, z: 1} 761 | m_Children: [] 762 | m_Father: {fileID: 1515123041} 763 | m_RootOrder: 1 764 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 765 | --- !u!65 &1955403686 766 | BoxCollider: 767 | m_ObjectHideFlags: 0 768 | m_CorrespondingSourceObject: {fileID: 0} 769 | m_PrefabInstance: {fileID: 0} 770 | m_PrefabAsset: {fileID: 0} 771 | m_GameObject: {fileID: 1955403684} 772 | m_Material: {fileID: 0} 773 | m_IsTrigger: 0 774 | m_Enabled: 1 775 | serializedVersion: 2 776 | m_Size: {x: 1, y: 1, z: 1} 777 | m_Center: {x: 0, y: 0, z: 0} 778 | --- !u!23 &1955403687 779 | MeshRenderer: 780 | m_ObjectHideFlags: 0 781 | m_CorrespondingSourceObject: {fileID: 0} 782 | m_PrefabInstance: {fileID: 0} 783 | m_PrefabAsset: {fileID: 0} 784 | m_GameObject: {fileID: 1955403684} 785 | m_Enabled: 1 786 | m_CastShadows: 1 787 | m_ReceiveShadows: 1 788 | m_DynamicOccludee: 1 789 | m_MotionVectors: 1 790 | m_LightProbeUsage: 1 791 | m_ReflectionProbeUsage: 1 792 | m_RayTracingMode: 2 793 | m_RayTraceProcedural: 0 794 | m_RenderingLayerMask: 1 795 | m_RendererPriority: 0 796 | m_Materials: 797 | - {fileID: 2100000, guid: 1580139f08052124f9cd7cade286b3eb, type: 2} 798 | m_StaticBatchInfo: 799 | firstSubMesh: 0 800 | subMeshCount: 0 801 | m_StaticBatchRoot: {fileID: 0} 802 | m_ProbeAnchor: {fileID: 0} 803 | m_LightProbeVolumeOverride: {fileID: 0} 804 | m_ScaleInLightmap: 1 805 | m_ReceiveGI: 1 806 | m_PreserveUVs: 0 807 | m_IgnoreNormalsForChartDetection: 0 808 | m_ImportantGI: 0 809 | m_StitchLightmapSeams: 1 810 | m_SelectedEditorRenderState: 3 811 | m_MinimumChartSize: 4 812 | m_AutoUVMaxDistance: 0.5 813 | m_AutoUVMaxAngle: 89 814 | m_LightmapParameters: {fileID: 0} 815 | m_SortingLayerID: 0 816 | m_SortingLayer: 0 817 | m_SortingOrder: 0 818 | m_AdditionalVertexStreams: {fileID: 0} 819 | --- !u!33 &1955403688 820 | MeshFilter: 821 | m_ObjectHideFlags: 0 822 | m_CorrespondingSourceObject: {fileID: 0} 823 | m_PrefabInstance: {fileID: 0} 824 | m_PrefabAsset: {fileID: 0} 825 | m_GameObject: {fileID: 1955403684} 826 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 827 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Tests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d794bad03213dc498295da5bf00c4c7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Tests/Rounder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 706ba03f5d89c8d41be8f11cd9e9034f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Tests/Rounder/TestNumberMultipleRounder.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using NUnit.Framework; 4 | using UnityEngine; 5 | using UnityEngine.TestTools; 6 | 7 | using TSCubemapGenerator; 8 | 9 | namespace Tests.TSCubemapGenerator 10 | { 11 | public class TestNumberMultipleRounder 12 | { 13 | 14 | [Test] 15 | public void ctor_ThrowExceptionIfNumberIs0() 16 | { 17 | // when, then 18 | Assert.Throws(() => 19 | { 20 | var target = new NumberMultipleRounder(number: 0); 21 | }); 22 | } 23 | 24 | 25 | [Test] 26 | public void Round_MultipleOf4() 27 | { 28 | // setup 29 | var target = new NumberMultipleRounder(number: 4); 30 | 31 | // when, then 32 | Assert.AreEqual(0, target.Round(0)); 33 | Assert.AreEqual(0, target.Round(3)); 34 | Assert.AreEqual(4, target.Round(4)); 35 | 36 | Assert.AreEqual(1020, target.Round(1023)); 37 | Assert.AreEqual(1024, target.Round(1024)); 38 | Assert.AreEqual(1024, target.Round(1025)); 39 | Assert.AreEqual(1024, target.Round(1027)); 40 | Assert.AreEqual(1028, target.Round(1028)); 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Assets/Tests/Rounder/TestNumberMultipleRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 405b8f400fd0a4546bbd08df54106209 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Tests/Rounder/TestNumberPowerRounder.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using NUnit.Framework; 4 | using UnityEngine; 5 | using UnityEngine.TestTools; 6 | 7 | using TSCubemapGenerator; 8 | 9 | namespace Tests.TSCubemapGenerator 10 | { 11 | public class TestNumberPowerRounder 12 | { 13 | 14 | [Test] 15 | public void ctor_ThrowExceptionIfNumberIs0() 16 | { 17 | // when, then 18 | Assert.Throws(() => 19 | { 20 | var target = new NumberPowerRounder(number: 0); 21 | }); 22 | } 23 | 24 | 25 | [Test] 26 | public void Round_PowerOf2() 27 | { 28 | // setup 29 | var target = new NumberPowerRounder(number: 2); 30 | 31 | // when, then 32 | Assert.AreEqual(2, target.Round(0)); 33 | Assert.AreEqual(2, target.Round(1)); 34 | Assert.AreEqual(2, target.Round(2)); 35 | Assert.AreEqual(4, target.Round(3)); 36 | Assert.AreEqual(4, target.Round(4)); 37 | 38 | Assert.AreEqual(1024, target.Round(1023)); 39 | Assert.AreEqual(1024, target.Round(1024)); 40 | Assert.AreEqual(1024, target.Round(1025)); 41 | 42 | Assert.AreEqual(2048, target.Round(2047)); 43 | Assert.AreEqual(2048, target.Round(2048)); 44 | Assert.AreEqual(2048, target.Round(2049)); 45 | 46 | Assert.AreEqual(8192, target.Round(8191)); 47 | Assert.AreEqual(8192, target.Round(8192)); 48 | Assert.AreEqual(8192, target.Round(8193)); 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /Assets/Tests/Rounder/TestNumberPowerRounder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddbea303959678a4284e3100a423506c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Tests/Tests.CubemapGenerator.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Tests.TSCubemapGenerator", 3 | "rootNamespace": "Tests.TSCubemapGenerator", 4 | "references": [ 5 | "UnityEngine.TestRunner", 6 | "UnityEditor.TestRunner", 7 | "TSCubemapGenerator" 8 | ], 9 | "includePlatforms": [ 10 | "Editor" 11 | ], 12 | "excludePlatforms": [], 13 | "allowUnsafeCode": false, 14 | "overrideReferences": true, 15 | "precompiledReferences": [ 16 | "nunit.framework.dll" 17 | ], 18 | "autoReferenced": false, 19 | "defineConstraints": [ 20 | "UNITY_INCLUDE_TESTS" 21 | ], 22 | "versionDefines": [], 23 | "noEngineReferences": false 24 | } -------------------------------------------------------------------------------- /Assets/Tests/Tests.CubemapGenerator.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99663125533583c4faa4a85410d87121 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Documents/Images/open_tool_window.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsgcpp/TSCubemapGenerator/b9e83dac5b6ca4eeda3f57a4a51e7006c2024c65/Documents/Images/open_tool_window.jpg -------------------------------------------------------------------------------- /Documents/Images/thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsgcpp/TSCubemapGenerator/b9e83dac5b6ca4eeda3f57a4a51e7006c2024c65/Documents/Images/thumbnail.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 tsgcpp 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.5.7", 4 | "com.unity.ide.rider": "2.0.7", 5 | "com.unity.ide.visualstudio": "2.0.9", 6 | "com.unity.ide.vscode": "1.2.3", 7 | "com.unity.test-framework": "1.1.27", 8 | "com.unity.ugui": "1.0.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.androidjni": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.assetbundle": "1.0.0", 13 | "com.unity.modules.audio": "1.0.0", 14 | "com.unity.modules.cloth": "1.0.0", 15 | "com.unity.modules.director": "1.0.0", 16 | "com.unity.modules.imageconversion": "1.0.0", 17 | "com.unity.modules.imgui": "1.0.0", 18 | "com.unity.modules.jsonserialize": "1.0.0", 19 | "com.unity.modules.particlesystem": "1.0.0", 20 | "com.unity.modules.physics": "1.0.0", 21 | "com.unity.modules.physics2d": "1.0.0", 22 | "com.unity.modules.screencapture": "1.0.0", 23 | "com.unity.modules.terrain": "1.0.0", 24 | "com.unity.modules.terrainphysics": "1.0.0", 25 | "com.unity.modules.tilemap": "1.0.0", 26 | "com.unity.modules.ui": "1.0.0", 27 | "com.unity.modules.uielements": "1.0.0", 28 | "com.unity.modules.umbra": "1.0.0", 29 | "com.unity.modules.unityanalytics": "1.0.0", 30 | "com.unity.modules.unitywebrequest": "1.0.0", 31 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 32 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 33 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 34 | "com.unity.modules.unitywebrequestwww": "1.0.0", 35 | "com.unity.modules.vehicles": "1.0.0", 36 | "com.unity.modules.video": "1.0.0", 37 | "com.unity.modules.vr": "1.0.0", 38 | "com.unity.modules.wind": "1.0.0", 39 | "com.unity.modules.xr": "1.0.0" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "1.5.7", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.nuget.newtonsoft-json": "2.0.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.ext.nunit": { 13 | "version": "1.0.6", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ide.rider": { 20 | "version": "2.0.7", 21 | "depth": 0, 22 | "source": "registry", 23 | "dependencies": { 24 | "com.unity.test-framework": "1.1.1" 25 | }, 26 | "url": "https://packages.unity.com" 27 | }, 28 | "com.unity.ide.visualstudio": { 29 | "version": "2.0.9", 30 | "depth": 0, 31 | "source": "registry", 32 | "dependencies": { 33 | "com.unity.test-framework": "1.1.9" 34 | }, 35 | "url": "https://packages.unity.com" 36 | }, 37 | "com.unity.ide.vscode": { 38 | "version": "1.2.3", 39 | "depth": 0, 40 | "source": "registry", 41 | "dependencies": {}, 42 | "url": "https://packages.unity.com" 43 | }, 44 | "com.unity.nuget.newtonsoft-json": { 45 | "version": "2.0.0", 46 | "depth": 1, 47 | "source": "registry", 48 | "dependencies": {}, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.test-framework": { 52 | "version": "1.1.27", 53 | "depth": 0, 54 | "source": "registry", 55 | "dependencies": { 56 | "com.unity.ext.nunit": "1.0.6", 57 | "com.unity.modules.imgui": "1.0.0", 58 | "com.unity.modules.jsonserialize": "1.0.0" 59 | }, 60 | "url": "https://packages.unity.com" 61 | }, 62 | "com.unity.ugui": { 63 | "version": "1.0.0", 64 | "depth": 0, 65 | "source": "builtin", 66 | "dependencies": { 67 | "com.unity.modules.ui": "1.0.0", 68 | "com.unity.modules.imgui": "1.0.0" 69 | } 70 | }, 71 | "com.unity.modules.ai": { 72 | "version": "1.0.0", 73 | "depth": 0, 74 | "source": "builtin", 75 | "dependencies": {} 76 | }, 77 | "com.unity.modules.androidjni": { 78 | "version": "1.0.0", 79 | "depth": 0, 80 | "source": "builtin", 81 | "dependencies": {} 82 | }, 83 | "com.unity.modules.animation": { 84 | "version": "1.0.0", 85 | "depth": 0, 86 | "source": "builtin", 87 | "dependencies": {} 88 | }, 89 | "com.unity.modules.assetbundle": { 90 | "version": "1.0.0", 91 | "depth": 0, 92 | "source": "builtin", 93 | "dependencies": {} 94 | }, 95 | "com.unity.modules.audio": { 96 | "version": "1.0.0", 97 | "depth": 0, 98 | "source": "builtin", 99 | "dependencies": {} 100 | }, 101 | "com.unity.modules.cloth": { 102 | "version": "1.0.0", 103 | "depth": 0, 104 | "source": "builtin", 105 | "dependencies": { 106 | "com.unity.modules.physics": "1.0.0" 107 | } 108 | }, 109 | "com.unity.modules.director": { 110 | "version": "1.0.0", 111 | "depth": 0, 112 | "source": "builtin", 113 | "dependencies": { 114 | "com.unity.modules.audio": "1.0.0", 115 | "com.unity.modules.animation": "1.0.0" 116 | } 117 | }, 118 | "com.unity.modules.imageconversion": { 119 | "version": "1.0.0", 120 | "depth": 0, 121 | "source": "builtin", 122 | "dependencies": {} 123 | }, 124 | "com.unity.modules.imgui": { 125 | "version": "1.0.0", 126 | "depth": 0, 127 | "source": "builtin", 128 | "dependencies": {} 129 | }, 130 | "com.unity.modules.jsonserialize": { 131 | "version": "1.0.0", 132 | "depth": 0, 133 | "source": "builtin", 134 | "dependencies": {} 135 | }, 136 | "com.unity.modules.particlesystem": { 137 | "version": "1.0.0", 138 | "depth": 0, 139 | "source": "builtin", 140 | "dependencies": {} 141 | }, 142 | "com.unity.modules.physics": { 143 | "version": "1.0.0", 144 | "depth": 0, 145 | "source": "builtin", 146 | "dependencies": {} 147 | }, 148 | "com.unity.modules.physics2d": { 149 | "version": "1.0.0", 150 | "depth": 0, 151 | "source": "builtin", 152 | "dependencies": {} 153 | }, 154 | "com.unity.modules.screencapture": { 155 | "version": "1.0.0", 156 | "depth": 0, 157 | "source": "builtin", 158 | "dependencies": { 159 | "com.unity.modules.imageconversion": "1.0.0" 160 | } 161 | }, 162 | "com.unity.modules.subsystems": { 163 | "version": "1.0.0", 164 | "depth": 1, 165 | "source": "builtin", 166 | "dependencies": { 167 | "com.unity.modules.jsonserialize": "1.0.0" 168 | } 169 | }, 170 | "com.unity.modules.terrain": { 171 | "version": "1.0.0", 172 | "depth": 0, 173 | "source": "builtin", 174 | "dependencies": {} 175 | }, 176 | "com.unity.modules.terrainphysics": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": { 181 | "com.unity.modules.physics": "1.0.0", 182 | "com.unity.modules.terrain": "1.0.0" 183 | } 184 | }, 185 | "com.unity.modules.tilemap": { 186 | "version": "1.0.0", 187 | "depth": 0, 188 | "source": "builtin", 189 | "dependencies": { 190 | "com.unity.modules.physics2d": "1.0.0" 191 | } 192 | }, 193 | "com.unity.modules.ui": { 194 | "version": "1.0.0", 195 | "depth": 0, 196 | "source": "builtin", 197 | "dependencies": {} 198 | }, 199 | "com.unity.modules.uielements": { 200 | "version": "1.0.0", 201 | "depth": 0, 202 | "source": "builtin", 203 | "dependencies": { 204 | "com.unity.modules.ui": "1.0.0", 205 | "com.unity.modules.imgui": "1.0.0", 206 | "com.unity.modules.jsonserialize": "1.0.0", 207 | "com.unity.modules.uielementsnative": "1.0.0" 208 | } 209 | }, 210 | "com.unity.modules.uielementsnative": { 211 | "version": "1.0.0", 212 | "depth": 1, 213 | "source": "builtin", 214 | "dependencies": { 215 | "com.unity.modules.ui": "1.0.0", 216 | "com.unity.modules.imgui": "1.0.0", 217 | "com.unity.modules.jsonserialize": "1.0.0" 218 | } 219 | }, 220 | "com.unity.modules.umbra": { 221 | "version": "1.0.0", 222 | "depth": 0, 223 | "source": "builtin", 224 | "dependencies": {} 225 | }, 226 | "com.unity.modules.unityanalytics": { 227 | "version": "1.0.0", 228 | "depth": 0, 229 | "source": "builtin", 230 | "dependencies": { 231 | "com.unity.modules.unitywebrequest": "1.0.0", 232 | "com.unity.modules.jsonserialize": "1.0.0" 233 | } 234 | }, 235 | "com.unity.modules.unitywebrequest": { 236 | "version": "1.0.0", 237 | "depth": 0, 238 | "source": "builtin", 239 | "dependencies": {} 240 | }, 241 | "com.unity.modules.unitywebrequestassetbundle": { 242 | "version": "1.0.0", 243 | "depth": 0, 244 | "source": "builtin", 245 | "dependencies": { 246 | "com.unity.modules.assetbundle": "1.0.0", 247 | "com.unity.modules.unitywebrequest": "1.0.0" 248 | } 249 | }, 250 | "com.unity.modules.unitywebrequestaudio": { 251 | "version": "1.0.0", 252 | "depth": 0, 253 | "source": "builtin", 254 | "dependencies": { 255 | "com.unity.modules.unitywebrequest": "1.0.0", 256 | "com.unity.modules.audio": "1.0.0" 257 | } 258 | }, 259 | "com.unity.modules.unitywebrequesttexture": { 260 | "version": "1.0.0", 261 | "depth": 0, 262 | "source": "builtin", 263 | "dependencies": { 264 | "com.unity.modules.unitywebrequest": "1.0.0", 265 | "com.unity.modules.imageconversion": "1.0.0" 266 | } 267 | }, 268 | "com.unity.modules.unitywebrequestwww": { 269 | "version": "1.0.0", 270 | "depth": 0, 271 | "source": "builtin", 272 | "dependencies": { 273 | "com.unity.modules.unitywebrequest": "1.0.0", 274 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 275 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 276 | "com.unity.modules.audio": "1.0.0", 277 | "com.unity.modules.assetbundle": "1.0.0", 278 | "com.unity.modules.imageconversion": "1.0.0" 279 | } 280 | }, 281 | "com.unity.modules.vehicles": { 282 | "version": "1.0.0", 283 | "depth": 0, 284 | "source": "builtin", 285 | "dependencies": { 286 | "com.unity.modules.physics": "1.0.0" 287 | } 288 | }, 289 | "com.unity.modules.video": { 290 | "version": "1.0.0", 291 | "depth": 0, 292 | "source": "builtin", 293 | "dependencies": { 294 | "com.unity.modules.audio": "1.0.0", 295 | "com.unity.modules.ui": "1.0.0", 296 | "com.unity.modules.unitywebrequest": "1.0.0" 297 | } 298 | }, 299 | "com.unity.modules.vr": { 300 | "version": "1.0.0", 301 | "depth": 0, 302 | "source": "builtin", 303 | "dependencies": { 304 | "com.unity.modules.jsonserialize": "1.0.0", 305 | "com.unity.modules.physics": "1.0.0", 306 | "com.unity.modules.xr": "1.0.0" 307 | } 308 | }, 309 | "com.unity.modules.wind": { 310 | "version": "1.0.0", 311 | "depth": 0, 312 | "source": "builtin", 313 | "dependencies": {} 314 | }, 315 | "com.unity.modules.xr": { 316 | "version": "1.0.0", 317 | "depth": 0, 318 | "source": "builtin", 319 | "dependencies": { 320 | "com.unity.modules.physics": "1.0.0", 321 | "com.unity.modules.jsonserialize": "1.0.0", 322 | "com.unity.modules.subsystems": "1.0.0" 323 | } 324 | } 325 | } 326 | } 327 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: 9 | Unity.XR.Oculus.Settings: {fileID: 11400000, guid: 8580edadee3f2e04f9d077cf6fd2376a, 10 | type: 2} 11 | com.unity.xr.management.loader_settings: {fileID: 11400000, guid: 06d515a06e62a004796f8bd213216c68, 12 | type: 2} 13 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.com 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | m_UserSelectedRegistryName: 28 | m_UserAddingNewScopedRegistry: 0 29 | m_RegistryInfoDraft: 30 | m_ErrorMessage: 31 | m_Original: 32 | m_Id: 33 | m_Name: 34 | m_Url: 35 | m_Scopes: [] 36 | m_IsDefault: 0 37 | m_Capabilities: 0 38 | m_Modified: 0 39 | m_Name: 40 | m_Url: 41 | m_Scopes: 42 | - 43 | m_SelectedScopeIndex: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 20 7 | productGUID: acf2e9db0d981444f835051d37411080 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: TSCubemapGenerator 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosUseCustomAppBackgroundBehavior: 0 56 | iosAllowHTTPDownload: 1 57 | allowedAutorotateToPortrait: 1 58 | allowedAutorotateToPortraitUpsideDown: 1 59 | allowedAutorotateToLandscapeRight: 1 60 | allowedAutorotateToLandscapeLeft: 1 61 | useOSAutorotation: 1 62 | use32BitDisplayBuffer: 1 63 | preserveFramebufferAlpha: 0 64 | disableDepthAndStencilBuffers: 0 65 | androidStartInFullscreen: 1 66 | androidRenderOutsideSafeArea: 1 67 | androidUseSwappy: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | useFlipModelSwapchain: 1 83 | resizableWindow: 0 84 | useMacAppStoreValidation: 0 85 | macAppStoreCategory: public.app-category.games 86 | gpuSkinning: 1 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | fullscreenMode: 1 95 | xboxSpeechDB: 0 96 | xboxEnableHeadOrientation: 0 97 | xboxEnableGuest: 0 98 | xboxEnablePIXSampling: 0 99 | metalFramebufferOnly: 0 100 | xboxOneResolution: 0 101 | xboxOneSResolution: 0 102 | xboxOneXResolution: 3 103 | xboxOneMonoLoggingLevel: 0 104 | xboxOneLoggingLevel: 1 105 | xboxOneDisableEsram: 0 106 | xboxOneEnableTypeOptimization: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | switchQueueControlMemory: 16384 110 | switchQueueComputeMemory: 262144 111 | switchNVNShaderPoolsGranularity: 33554432 112 | switchNVNDefaultPoolsGranularity: 16777216 113 | switchNVNOtherPoolsGranularity: 16777216 114 | stadiaPresentMode: 0 115 | stadiaTargetFramerate: 0 116 | vulkanNumSwapchainBuffers: 3 117 | vulkanEnableSetSRGBWrite: 0 118 | m_SupportedAspectRatios: 119 | 4:3: 1 120 | 5:4: 1 121 | 16:10: 1 122 | 16:9: 1 123 | Others: 1 124 | bundleVersion: 0.1 125 | preloadedAssets: [] 126 | metroInputSource: 0 127 | wsaTransparentSwapchain: 0 128 | m_HolographicPauseOnTrackingLoss: 1 129 | xboxOneDisableKinectGpuReservation: 1 130 | xboxOneEnable7thCore: 1 131 | vrSettings: 132 | cardboard: 133 | depthFormat: 0 134 | enableTransitionView: 0 135 | daydream: 136 | depthFormat: 0 137 | useSustainedPerformanceMode: 0 138 | enableVideoLayer: 0 139 | useProtectedVideoMemory: 0 140 | minimumSupportedHeadTracking: 0 141 | maximumSupportedHeadTracking: 1 142 | hololens: 143 | depthFormat: 1 144 | depthBufferSharingEnabled: 1 145 | lumin: 146 | depthFormat: 0 147 | frameTiming: 2 148 | enableGLCache: 0 149 | glCacheMaxBlobSize: 524288 150 | glCacheMaxFileSize: 8388608 151 | oculus: 152 | sharedDepthBuffer: 1 153 | dashSupport: 1 154 | lowOverheadMode: 0 155 | protectedContext: 0 156 | v2Signing: 1 157 | enable360StereoCapture: 0 158 | isWsaHolographicRemotingEnabled: 0 159 | enableFrameTimingStats: 0 160 | useHDRDisplay: 0 161 | D3DHDRBitDepth: 0 162 | m_ColorGamuts: 00000000 163 | targetPixelDensity: 30 164 | resolutionScalingMode: 0 165 | androidSupportedAspectRatio: 1 166 | androidMaxAspectRatio: 2.1 167 | applicationIdentifier: {} 168 | buildNumber: {} 169 | AndroidBundleVersionCode: 1 170 | AndroidMinSdkVersion: 19 171 | AndroidTargetSdkVersion: 0 172 | AndroidPreferredInstallLocation: 1 173 | aotOptions: 174 | stripEngineCode: 1 175 | iPhoneStrippingLevel: 0 176 | iPhoneScriptCallOptimization: 0 177 | ForceInternetPermission: 0 178 | ForceSDCardPermission: 0 179 | CreateWallpaper: 0 180 | APKExpansionFiles: 0 181 | keepLoadedShadersAlive: 0 182 | StripUnusedMeshComponents: 1 183 | VertexChannelCompressionMask: 4054 184 | iPhoneSdkVersion: 988 185 | iOSTargetOSVersionString: 10.0 186 | tvOSSdkVersion: 0 187 | tvOSRequireExtendedGameController: 0 188 | tvOSTargetOSVersionString: 10.0 189 | uIPrerenderedIcon: 0 190 | uIRequiresPersistentWiFi: 0 191 | uIRequiresFullScreen: 1 192 | uIStatusBarHidden: 1 193 | uIExitOnSuspend: 0 194 | uIStatusBarStyle: 0 195 | appleTVSplashScreen: {fileID: 0} 196 | appleTVSplashScreen2x: {fileID: 0} 197 | tvOSSmallIconLayers: [] 198 | tvOSSmallIconLayers2x: [] 199 | tvOSLargeIconLayers: [] 200 | tvOSLargeIconLayers2x: [] 201 | tvOSTopShelfImageLayers: [] 202 | tvOSTopShelfImageLayers2x: [] 203 | tvOSTopShelfImageWideLayers: [] 204 | tvOSTopShelfImageWideLayers2x: [] 205 | iOSLaunchScreenType: 0 206 | iOSLaunchScreenPortrait: {fileID: 0} 207 | iOSLaunchScreenLandscape: {fileID: 0} 208 | iOSLaunchScreenBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreenFillPct: 100 212 | iOSLaunchScreenSize: 100 213 | iOSLaunchScreenCustomXibPath: 214 | iOSLaunchScreeniPadType: 0 215 | iOSLaunchScreeniPadImage: {fileID: 0} 216 | iOSLaunchScreeniPadBackgroundColor: 217 | serializedVersion: 2 218 | rgba: 0 219 | iOSLaunchScreeniPadFillPct: 100 220 | iOSLaunchScreeniPadSize: 100 221 | iOSLaunchScreeniPadCustomXibPath: 222 | iOSUseLaunchScreenStoryboard: 0 223 | iOSLaunchScreenCustomStoryboardPath: 224 | iOSDeviceRequirements: [] 225 | iOSURLSchemes: [] 226 | iOSBackgroundModes: 0 227 | iOSMetalForceHardShadows: 0 228 | metalEditorSupport: 1 229 | metalAPIValidation: 1 230 | iOSRenderExtraFrameOnPause: 0 231 | appleDeveloperTeamID: 232 | iOSManualSigningProvisioningProfileID: 233 | tvOSManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | appleEnableAutomaticSigning: 0 237 | iOSRequireARKit: 0 238 | iOSAutomaticallyDetectAndAddCapabilities: 1 239 | appleEnableProMotion: 0 240 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 241 | templatePackageId: com.unity.template.3d@4.2.8 242 | templateDefaultScene: Assets/Scenes/SampleScene.unity 243 | AndroidTargetArchitectures: 1 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidBuildApkPerCpuArchitecture: 0 249 | AndroidTVCompatibility: 0 250 | AndroidIsGame: 1 251 | AndroidEnableTango: 0 252 | androidEnableBanner: 1 253 | androidUseLowAccuracyLocation: 0 254 | androidUseCustomKeystore: 0 255 | m_AndroidBanners: 256 | - width: 320 257 | height: 180 258 | banner: {fileID: 0} 259 | androidGamepadSupportLevel: 0 260 | AndroidValidateAppBundleSize: 1 261 | AndroidAppBundleSizeToValidate: 150 262 | m_BuildTargetIcons: [] 263 | m_BuildTargetPlatformIcons: [] 264 | m_BuildTargetBatching: 265 | - m_BuildTarget: Standalone 266 | m_StaticBatching: 1 267 | m_DynamicBatching: 0 268 | - m_BuildTarget: tvOS 269 | m_StaticBatching: 1 270 | m_DynamicBatching: 0 271 | - m_BuildTarget: Android 272 | m_StaticBatching: 1 273 | m_DynamicBatching: 0 274 | - m_BuildTarget: iPhone 275 | m_StaticBatching: 1 276 | m_DynamicBatching: 0 277 | - m_BuildTarget: WebGL 278 | m_StaticBatching: 0 279 | m_DynamicBatching: 0 280 | m_BuildTargetGraphicsJobs: 281 | - m_BuildTarget: MacStandaloneSupport 282 | m_GraphicsJobs: 0 283 | - m_BuildTarget: Switch 284 | m_GraphicsJobs: 1 285 | - m_BuildTarget: MetroSupport 286 | m_GraphicsJobs: 1 287 | - m_BuildTarget: AppleTVSupport 288 | m_GraphicsJobs: 0 289 | - m_BuildTarget: BJMSupport 290 | m_GraphicsJobs: 1 291 | - m_BuildTarget: LinuxStandaloneSupport 292 | m_GraphicsJobs: 1 293 | - m_BuildTarget: PS4Player 294 | m_GraphicsJobs: 1 295 | - m_BuildTarget: iOSSupport 296 | m_GraphicsJobs: 0 297 | - m_BuildTarget: WindowsStandaloneSupport 298 | m_GraphicsJobs: 1 299 | - m_BuildTarget: XboxOnePlayer 300 | m_GraphicsJobs: 1 301 | - m_BuildTarget: LuminSupport 302 | m_GraphicsJobs: 0 303 | - m_BuildTarget: AndroidPlayer 304 | m_GraphicsJobs: 0 305 | - m_BuildTarget: WebGLSupport 306 | m_GraphicsJobs: 0 307 | m_BuildTargetGraphicsJobMode: 308 | - m_BuildTarget: PS4Player 309 | m_GraphicsJobMode: 0 310 | - m_BuildTarget: XboxOnePlayer 311 | m_GraphicsJobMode: 0 312 | m_BuildTargetGraphicsAPIs: 313 | - m_BuildTarget: AndroidPlayer 314 | m_APIs: 150000000b000000 315 | m_Automatic: 0 316 | - m_BuildTarget: iOSSupport 317 | m_APIs: 10000000 318 | m_Automatic: 1 319 | - m_BuildTarget: AppleTVSupport 320 | m_APIs: 10000000 321 | m_Automatic: 0 322 | - m_BuildTarget: WebGLSupport 323 | m_APIs: 0b000000 324 | m_Automatic: 1 325 | m_BuildTargetVRSettings: 326 | - m_BuildTarget: Standalone 327 | m_Enabled: 0 328 | m_Devices: 329 | - Oculus 330 | - OpenVR 331 | openGLRequireES31: 0 332 | openGLRequireES31AEP: 0 333 | openGLRequireES32: 0 334 | m_TemplateCustomTags: {} 335 | mobileMTRendering: 336 | Android: 1 337 | iPhone: 1 338 | tvOS: 1 339 | m_BuildTargetGroupLightmapEncodingQuality: [] 340 | m_BuildTargetGroupLightmapSettings: [] 341 | playModeTestRunnerEnabled: 0 342 | runPlayModeTestAsEditModeTest: 0 343 | actionOnDotNetUnhandledException: 1 344 | enableInternalProfiler: 0 345 | logObjCUncaughtExceptions: 1 346 | enableCrashReportAPI: 0 347 | cameraUsageDescription: 348 | locationUsageDescription: 349 | microphoneUsageDescription: 350 | switchNetLibKey: 351 | switchSocketMemoryPoolSize: 6144 352 | switchSocketAllocatorPoolSize: 128 353 | switchSocketConcurrencyLimit: 14 354 | switchScreenResolutionBehavior: 2 355 | switchUseCPUProfiler: 0 356 | switchApplicationID: 0x01004b9000490000 357 | switchNSODependencies: 358 | switchTitleNames_0: 359 | switchTitleNames_1: 360 | switchTitleNames_2: 361 | switchTitleNames_3: 362 | switchTitleNames_4: 363 | switchTitleNames_5: 364 | switchTitleNames_6: 365 | switchTitleNames_7: 366 | switchTitleNames_8: 367 | switchTitleNames_9: 368 | switchTitleNames_10: 369 | switchTitleNames_11: 370 | switchTitleNames_12: 371 | switchTitleNames_13: 372 | switchTitleNames_14: 373 | switchPublisherNames_0: 374 | switchPublisherNames_1: 375 | switchPublisherNames_2: 376 | switchPublisherNames_3: 377 | switchPublisherNames_4: 378 | switchPublisherNames_5: 379 | switchPublisherNames_6: 380 | switchPublisherNames_7: 381 | switchPublisherNames_8: 382 | switchPublisherNames_9: 383 | switchPublisherNames_10: 384 | switchPublisherNames_11: 385 | switchPublisherNames_12: 386 | switchPublisherNames_13: 387 | switchPublisherNames_14: 388 | switchIcons_0: {fileID: 0} 389 | switchIcons_1: {fileID: 0} 390 | switchIcons_2: {fileID: 0} 391 | switchIcons_3: {fileID: 0} 392 | switchIcons_4: {fileID: 0} 393 | switchIcons_5: {fileID: 0} 394 | switchIcons_6: {fileID: 0} 395 | switchIcons_7: {fileID: 0} 396 | switchIcons_8: {fileID: 0} 397 | switchIcons_9: {fileID: 0} 398 | switchIcons_10: {fileID: 0} 399 | switchIcons_11: {fileID: 0} 400 | switchIcons_12: {fileID: 0} 401 | switchIcons_13: {fileID: 0} 402 | switchIcons_14: {fileID: 0} 403 | switchSmallIcons_0: {fileID: 0} 404 | switchSmallIcons_1: {fileID: 0} 405 | switchSmallIcons_2: {fileID: 0} 406 | switchSmallIcons_3: {fileID: 0} 407 | switchSmallIcons_4: {fileID: 0} 408 | switchSmallIcons_5: {fileID: 0} 409 | switchSmallIcons_6: {fileID: 0} 410 | switchSmallIcons_7: {fileID: 0} 411 | switchSmallIcons_8: {fileID: 0} 412 | switchSmallIcons_9: {fileID: 0} 413 | switchSmallIcons_10: {fileID: 0} 414 | switchSmallIcons_11: {fileID: 0} 415 | switchSmallIcons_12: {fileID: 0} 416 | switchSmallIcons_13: {fileID: 0} 417 | switchSmallIcons_14: {fileID: 0} 418 | switchManualHTML: 419 | switchAccessibleURLs: 420 | switchLegalInformation: 421 | switchMainThreadStackSize: 1048576 422 | switchPresenceGroupId: 423 | switchLogoHandling: 0 424 | switchReleaseVersion: 0 425 | switchDisplayVersion: 1.0.0 426 | switchStartupUserAccount: 0 427 | switchTouchScreenUsage: 0 428 | switchSupportedLanguagesMask: 0 429 | switchLogoType: 0 430 | switchApplicationErrorCodeCategory: 431 | switchUserAccountSaveDataSize: 0 432 | switchUserAccountSaveDataJournalSize: 0 433 | switchApplicationAttribute: 0 434 | switchCardSpecSize: -1 435 | switchCardSpecClock: -1 436 | switchRatingsMask: 0 437 | switchRatingsInt_0: 0 438 | switchRatingsInt_1: 0 439 | switchRatingsInt_2: 0 440 | switchRatingsInt_3: 0 441 | switchRatingsInt_4: 0 442 | switchRatingsInt_5: 0 443 | switchRatingsInt_6: 0 444 | switchRatingsInt_7: 0 445 | switchRatingsInt_8: 0 446 | switchRatingsInt_9: 0 447 | switchRatingsInt_10: 0 448 | switchRatingsInt_11: 0 449 | switchRatingsInt_12: 0 450 | switchLocalCommunicationIds_0: 451 | switchLocalCommunicationIds_1: 452 | switchLocalCommunicationIds_2: 453 | switchLocalCommunicationIds_3: 454 | switchLocalCommunicationIds_4: 455 | switchLocalCommunicationIds_5: 456 | switchLocalCommunicationIds_6: 457 | switchLocalCommunicationIds_7: 458 | switchParentalControl: 0 459 | switchAllowsScreenshot: 1 460 | switchAllowsVideoCapturing: 1 461 | switchAllowsRuntimeAddOnContentInstall: 0 462 | switchDataLossConfirmation: 0 463 | switchUserAccountLockEnabled: 0 464 | switchSystemResourceMemory: 16777216 465 | switchSupportedNpadStyles: 22 466 | switchNativeFsCacheSize: 32 467 | switchIsHoldTypeHorizontal: 0 468 | switchSupportedNpadCount: 8 469 | switchSocketConfigEnabled: 0 470 | switchTcpInitialSendBufferSize: 32 471 | switchTcpInitialReceiveBufferSize: 64 472 | switchTcpAutoSendBufferSizeMax: 256 473 | switchTcpAutoReceiveBufferSizeMax: 256 474 | switchUdpSendBufferSize: 9 475 | switchUdpReceiveBufferSize: 42 476 | switchSocketBufferEfficiency: 4 477 | switchSocketInitializeEnabled: 1 478 | switchNetworkInterfaceManagerInitializeEnabled: 1 479 | switchPlayerConnectionEnabled: 1 480 | ps4NPAgeRating: 12 481 | ps4NPTitleSecret: 482 | ps4NPTrophyPackPath: 483 | ps4ParentalLevel: 11 484 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 485 | ps4Category: 0 486 | ps4MasterVersion: 01.00 487 | ps4AppVersion: 01.00 488 | ps4AppType: 0 489 | ps4ParamSfxPath: 490 | ps4VideoOutPixelFormat: 0 491 | ps4VideoOutInitialWidth: 1920 492 | ps4VideoOutBaseModeInitialWidth: 1920 493 | ps4VideoOutReprojectionRate: 60 494 | ps4PronunciationXMLPath: 495 | ps4PronunciationSIGPath: 496 | ps4BackgroundImagePath: 497 | ps4StartupImagePath: 498 | ps4StartupImagesFolder: 499 | ps4IconImagesFolder: 500 | ps4SaveDataImagePath: 501 | ps4SdkOverride: 502 | ps4BGMPath: 503 | ps4ShareFilePath: 504 | ps4ShareOverlayImagePath: 505 | ps4PrivacyGuardImagePath: 506 | ps4NPtitleDatPath: 507 | ps4RemotePlayKeyAssignment: -1 508 | ps4RemotePlayKeyMappingDir: 509 | ps4PlayTogetherPlayerCount: 0 510 | ps4EnterButtonAssignment: 1 511 | ps4ApplicationParam1: 0 512 | ps4ApplicationParam2: 0 513 | ps4ApplicationParam3: 0 514 | ps4ApplicationParam4: 0 515 | ps4DownloadDataSize: 0 516 | ps4GarlicHeapSize: 2048 517 | ps4ProGarlicHeapSize: 2560 518 | playerPrefsMaxSize: 32768 519 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 520 | ps4pnSessions: 1 521 | ps4pnPresence: 1 522 | ps4pnFriends: 1 523 | ps4pnGameCustomData: 1 524 | playerPrefsSupport: 0 525 | enableApplicationExit: 0 526 | resetTempFolder: 1 527 | restrictedAudioUsageRights: 0 528 | ps4UseResolutionFallback: 0 529 | ps4ReprojectionSupport: 0 530 | ps4UseAudio3dBackend: 0 531 | ps4UseLowGarlicFragmentationMode: 1 532 | ps4SocialScreenEnabled: 0 533 | ps4ScriptOptimizationLevel: 0 534 | ps4Audio3dVirtualSpeakerCount: 14 535 | ps4attribCpuUsage: 0 536 | ps4PatchPkgPath: 537 | ps4PatchLatestPkgPath: 538 | ps4PatchChangeinfoPath: 539 | ps4PatchDayOne: 0 540 | ps4attribUserManagement: 0 541 | ps4attribMoveSupport: 0 542 | ps4attrib3DSupport: 0 543 | ps4attribShareSupport: 0 544 | ps4attribExclusiveVR: 0 545 | ps4disableAutoHideSplash: 0 546 | ps4videoRecordingFeaturesUsed: 0 547 | ps4contentSearchFeaturesUsed: 0 548 | ps4attribEyeToEyeDistanceSettingVR: 0 549 | ps4IncludedModules: [] 550 | ps4attribVROutputEnabled: 0 551 | monoEnv: 552 | splashScreenBackgroundSourceLandscape: {fileID: 0} 553 | splashScreenBackgroundSourcePortrait: {fileID: 0} 554 | blurSplashScreenBackground: 1 555 | spritePackerPolicy: 556 | webGLMemorySize: 16 557 | webGLExceptionSupport: 1 558 | webGLNameFilesAsHashes: 0 559 | webGLDataCaching: 1 560 | webGLDebugSymbols: 0 561 | webGLEmscriptenArgs: 562 | webGLModulesDirectory: 563 | webGLTemplate: APPLICATION:Default 564 | webGLAnalyzeBuildSize: 0 565 | webGLUseEmbeddedResources: 0 566 | webGLCompressionFormat: 1 567 | webGLLinkerTarget: 1 568 | webGLThreadsSupport: 0 569 | webGLWasmStreaming: 0 570 | scriptingDefineSymbols: {} 571 | platformArchitecture: {} 572 | scriptingBackend: {} 573 | il2cppCompilerConfiguration: {} 574 | managedStrippingLevel: {} 575 | incrementalIl2cppBuild: {} 576 | allowUnsafeCode: 0 577 | additionalIl2CppArgs: 578 | scriptingRuntimeVersion: 1 579 | gcIncremental: 0 580 | gcWBarrierValidation: 0 581 | apiCompatibilityLevelPerPlatform: {} 582 | m_RenderingPath: 1 583 | m_MobileRenderingPath: 1 584 | metroPackageName: Template_3D 585 | metroPackageVersion: 586 | metroCertificatePath: 587 | metroCertificatePassword: 588 | metroCertificateSubject: 589 | metroCertificateIssuer: 590 | metroCertificateNotAfter: 0000000000000000 591 | metroApplicationDescription: Template_3D 592 | wsaImages: {} 593 | metroTileShortName: 594 | metroTileShowName: 0 595 | metroMediumTileShowName: 0 596 | metroLargeTileShowName: 0 597 | metroWideTileShowName: 0 598 | metroSupportStreamingInstall: 0 599 | metroLastRequiredScene: 0 600 | metroDefaultTileSize: 1 601 | metroTileForegroundText: 2 602 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 603 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 604 | a: 1} 605 | metroSplashScreenUseBackgroundColor: 0 606 | platformCapabilities: {} 607 | metroTargetDeviceFamilies: {} 608 | metroFTAName: 609 | metroFTAFileTypes: [] 610 | metroProtocolName: 611 | XboxOneProductId: 612 | XboxOneUpdateKey: 613 | XboxOneSandboxId: 614 | XboxOneContentId: 615 | XboxOneTitleId: 616 | XboxOneSCId: 617 | XboxOneGameOsOverridePath: 618 | XboxOnePackagingOverridePath: 619 | XboxOneAppManifestOverridePath: 620 | XboxOneVersion: 1.0.0.0 621 | XboxOnePackageEncryption: 0 622 | XboxOnePackageUpdateGranularity: 2 623 | XboxOneDescription: 624 | XboxOneLanguage: 625 | - enus 626 | XboxOneCapability: [] 627 | XboxOneGameRating: {} 628 | XboxOneIsContentPackage: 0 629 | XboxOneEnableGPUVariability: 1 630 | XboxOneSockets: {} 631 | XboxOneSplashScreen: {fileID: 0} 632 | XboxOneAllowedProductIds: [] 633 | XboxOnePersistentLocalStorageSize: 0 634 | XboxOneXTitleMemory: 8 635 | XboxOneOverrideIdentityName: 636 | XboxOneOverrideIdentityPublisher: 637 | vrEditorSettings: 638 | daydream: 639 | daydreamIconForeground: {fileID: 0} 640 | daydreamIconBackground: {fileID: 0} 641 | cloudServicesEnabled: 642 | UNet: 1 643 | luminIcon: 644 | m_Name: 645 | m_ModelFolderPath: 646 | m_PortalFolderPath: 647 | luminCert: 648 | m_CertPath: 649 | m_SignPackage: 1 650 | luminIsChannelApp: 0 651 | luminVersion: 652 | m_VersionCode: 1 653 | m_VersionName: 654 | apiCompatibilityLevel: 6 655 | cloudProjectId: 656 | framebufferDepthMemorylessMode: 0 657 | projectName: 658 | organizationId: 659 | cloudEnabled: 0 660 | enableNativePlatformBackendsForNewInputSystem: 0 661 | disableOldInputManagerSupport: 0 662 | legacyClampBlendShapeWeights: 0 663 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2020.3.11f1 2 | m_EditorVersionWithRevision: 2020.3.11f1 (99c7afb366b3) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "ignore": false, 8 | "defaultInstantiationMode": 0, 9 | "supportsModification": true 10 | }, 11 | { 12 | "userAdded": false, 13 | "type": "UnityEditor.Animations.AnimatorController", 14 | "ignore": false, 15 | "defaultInstantiationMode": 0, 16 | "supportsModification": true 17 | }, 18 | { 19 | "userAdded": false, 20 | "type": "UnityEngine.AnimatorOverrideController", 21 | "ignore": false, 22 | "defaultInstantiationMode": 0, 23 | "supportsModification": true 24 | }, 25 | { 26 | "userAdded": false, 27 | "type": "UnityEditor.Audio.AudioMixerController", 28 | "ignore": false, 29 | "defaultInstantiationMode": 0, 30 | "supportsModification": true 31 | }, 32 | { 33 | "userAdded": false, 34 | "type": "UnityEngine.ComputeShader", 35 | "ignore": true, 36 | "defaultInstantiationMode": 1, 37 | "supportsModification": true 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEngine.Cubemap", 42 | "ignore": false, 43 | "defaultInstantiationMode": 0, 44 | "supportsModification": true 45 | }, 46 | { 47 | "userAdded": false, 48 | "type": "UnityEngine.GameObject", 49 | "ignore": false, 50 | "defaultInstantiationMode": 0, 51 | "supportsModification": true 52 | }, 53 | { 54 | "userAdded": false, 55 | "type": "UnityEditor.LightingDataAsset", 56 | "ignore": false, 57 | "defaultInstantiationMode": 0, 58 | "supportsModification": false 59 | }, 60 | { 61 | "userAdded": false, 62 | "type": "UnityEngine.LightingSettings", 63 | "ignore": false, 64 | "defaultInstantiationMode": 0, 65 | "supportsModification": true 66 | }, 67 | { 68 | "userAdded": false, 69 | "type": "UnityEngine.Material", 70 | "ignore": false, 71 | "defaultInstantiationMode": 0, 72 | "supportsModification": true 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEditor.MonoScript", 77 | "ignore": true, 78 | "defaultInstantiationMode": 1, 79 | "supportsModification": true 80 | }, 81 | { 82 | "userAdded": false, 83 | "type": "UnityEngine.PhysicMaterial", 84 | "ignore": false, 85 | "defaultInstantiationMode": 0, 86 | "supportsModification": true 87 | }, 88 | { 89 | "userAdded": false, 90 | "type": "UnityEngine.PhysicsMaterial2D", 91 | "ignore": false, 92 | "defaultInstantiationMode": 0, 93 | "supportsModification": true 94 | }, 95 | { 96 | "userAdded": false, 97 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 98 | "ignore": false, 99 | "defaultInstantiationMode": 0, 100 | "supportsModification": true 101 | }, 102 | { 103 | "userAdded": false, 104 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 105 | "ignore": false, 106 | "defaultInstantiationMode": 0, 107 | "supportsModification": true 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Rendering.VolumeProfile", 112 | "ignore": false, 113 | "defaultInstantiationMode": 0, 114 | "supportsModification": true 115 | }, 116 | { 117 | "userAdded": false, 118 | "type": "UnityEditor.SceneAsset", 119 | "ignore": false, 120 | "defaultInstantiationMode": 0, 121 | "supportsModification": false 122 | }, 123 | { 124 | "userAdded": false, 125 | "type": "UnityEngine.Shader", 126 | "ignore": true, 127 | "defaultInstantiationMode": 1, 128 | "supportsModification": true 129 | }, 130 | { 131 | "userAdded": false, 132 | "type": "UnityEngine.ShaderVariantCollection", 133 | "ignore": true, 134 | "defaultInstantiationMode": 1, 135 | "supportsModification": true 136 | }, 137 | { 138 | "userAdded": false, 139 | "type": "UnityEngine.Texture", 140 | "ignore": false, 141 | "defaultInstantiationMode": 0, 142 | "supportsModification": true 143 | }, 144 | { 145 | "userAdded": false, 146 | "type": "UnityEngine.Texture2D", 147 | "ignore": false, 148 | "defaultInstantiationMode": 0, 149 | "supportsModification": true 150 | }, 151 | { 152 | "userAdded": false, 153 | "type": "UnityEngine.Timeline.TimelineAsset", 154 | "ignore": false, 155 | "defaultInstantiationMode": 0, 156 | "supportsModification": true 157 | } 158 | ], 159 | "defaultDependencyTypeInfo": { 160 | "userAdded": false, 161 | "type": "", 162 | "ignore": false, 163 | "defaultInstantiationMode": 1, 164 | "supportsModification": true 165 | }, 166 | "newSceneOverride": 0 167 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRPackageSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_Settings": [ 3 | "RemoveLegacyInputHelpersForReload" 4 | ] 5 | } -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TSCubemapGenerator 2 | Cubemap generation tool for Unity 3 | 4 | ![](./Documents/Images/thumbnail.jpg) 5 | 6 | ## Installation 7 | 8 | ### Package Manager with git URL 9 | - Window -> Package Manager 10 | - Add package from git URL... 11 | - Add the package URL 12 | - `https://github.com/tsgcpp/TSCubemapGenerator.git?path=Assets/Plugins/TSCubemapGenerator#1.0.0` 13 | 14 | ### Package Manager with OpenUPM 15 | - Install the package via openupm-cli 16 | - https://openupm.com/ 17 | 18 | ```shell 19 | $ openupm add com.tsgcpp.tscubemapgenerator 20 | ``` 21 | 22 | #### About Package Manager 23 | https://docs.unity3d.com/Manual/upm-ui.html 24 | 25 | ## Support Unity Version 26 | - Unity 2019.4 or later 27 | 28 | ## Usage 29 | - You can watch the flow in this movie 30 | - https://youtu.be/ARbiXirv1BY 31 | 32 | ### 1. Open Tool Window 33 | - TSCubemapGenerator -> Open Tool Window 34 | 35 | ![](./Documents/Images/open_tool_window.jpg) 36 | 37 | ### 2. Setup 38 | - Load a scene to be baked into Cubemap 39 | - Create a `Camera` to render the scene 40 | - You should add `Skybox` component with a skybox material and to the `Camera` 41 | - Set a material for preview to `Preview Material` in the tool 42 | - You can also use `PreviewMaterial.mat` in the package 43 | - Click `Start` button 44 | 45 | ### 3. Rendering 46 | - Move the `Camera` to a rendering point 47 | - Click `Render Cubemap` 48 | - You can also use `Enable Realtime Rendering` to update the cubemap automatically 49 | - WARNING: `Enable Realtime Rendering` is **heavy**, so you should use this with low size 50 | 51 | ### 4. Export 52 | - Click `Export Cubemap to File` 53 | 54 | #### Appendix 55 | - If the cubemap folder is under `Assets`, the cubemap will be imported as a Cubemap asset 56 | - If not so, you should set the parameters to the cubemap 57 | - TextureShape: Cube 58 | - Mapping: 6 Frames Layout (Cubic Environment) 59 | 60 | ## FileType 61 | - VerticalPng 62 | - PNG images with vertical cross layout 63 | - HorizontalPng 64 | - PNG images with horizontal cross layout 65 | 66 | [Cubemaps](https://docs.unity3d.com/Manual/class-Cubemap.html) 67 | 68 | ## License 69 | - [LICENSE](./LICENSE) 70 | --------------------------------------------------------------------------------