├── .gitignore ├── .vsconfig ├── Assets ├── CrazyOptimizer.meta ├── CrazyOptimizer │ ├── Editor.meta │ ├── Editor │ │ ├── OptimizerUtils.cs │ │ ├── OptimizerUtils.cs.meta │ │ ├── OptimizerWindow.cs │ │ ├── OptimizerWindow.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── CrazyGamesLogo.png │ │ │ └── CrazyGamesLogo.png.meta │ │ ├── TreeLib.meta │ │ ├── TreeLib │ │ │ ├── TreeElement.cs │ │ │ ├── TreeElement.cs.meta │ │ │ ├── TreeElementUtility.cs │ │ │ ├── TreeElementUtility.cs.meta │ │ │ ├── TreeExtensionMethods.cs │ │ │ ├── TreeExtensionMethods.cs.meta │ │ │ ├── TreeModel.cs │ │ │ ├── TreeModel.cs.meta │ │ │ ├── TreeViewWithTreeModel.cs │ │ │ └── TreeViewWithTreeModel.cs.meta │ │ ├── WindowComponents.meta │ │ └── WindowComponents │ │ │ ├── About.cs │ │ │ ├── About.cs.meta │ │ │ ├── AudioOptimizations.meta │ │ │ ├── AudioOptimizations │ │ │ ├── AudioOptimization.cs │ │ │ ├── AudioOptimization.cs.meta │ │ │ ├── AudioTree.cs │ │ │ ├── AudioTree.cs.meta │ │ │ ├── AudioTreeItem.cs │ │ │ └── AudioTreeItem.cs.meta │ │ │ ├── BuildLogs.meta │ │ │ ├── BuildLogs │ │ │ ├── BuildLogTree.cs │ │ │ ├── BuildLogTree.cs.meta │ │ │ ├── BuildLogTreeItem.cs │ │ │ ├── BuildLogTreeItem.cs.meta │ │ │ ├── BuildLogs.cs │ │ │ └── BuildLogs.cs.meta │ │ │ ├── ExportOptimizations.cs │ │ │ ├── ExportOptimizations.cs.meta │ │ │ ├── ModelOptimizations.meta │ │ │ ├── ModelOptimizations │ │ │ ├── ModelOptimization.cs │ │ │ ├── ModelOptimization.cs.meta │ │ │ ├── ModelTree.cs │ │ │ ├── ModelTree.cs.meta │ │ │ ├── ModelTreeItem.cs │ │ │ └── ModelTreeItem.cs.meta │ │ │ ├── TextureOptimizations.meta │ │ │ └── TextureOptimizations │ │ │ ├── TextureOptimization.cs │ │ │ ├── TextureOptimization.cs.meta │ │ │ ├── TextureTree.cs │ │ │ ├── TextureTree.cs.meta │ │ │ ├── TextureTreeItem.cs │ │ │ └── TextureTreeItem.cs.meta │ ├── WebGL Optimizer docs.pdf │ └── WebGL Optimizer docs.pdf.meta ├── Materials.meta ├── Materials │ ├── Sand.mat │ └── Sand.mat.meta ├── Resources.meta ├── Resources │ ├── Models.meta │ ├── Models │ │ ├── Banana.fbx │ │ ├── Banana.fbx.meta │ │ ├── Cheese.fbx │ │ ├── Cheese.fbx.meta │ │ ├── Cherry.fbx │ │ ├── Cherry.fbx.meta │ │ ├── Hamburger.fbx │ │ ├── Hamburger.fbx.meta │ │ ├── Hotdog.fbx │ │ ├── Hotdog.fbx.meta │ │ ├── Olive.fbx │ │ ├── Olive.fbx.meta │ │ ├── Robot Kyle.fbx │ │ ├── Robot Kyle.fbx.meta │ │ ├── Watermelon.fbx │ │ └── Watermelon.fbx.meta │ ├── Rocks.mat │ ├── Rocks.mat.meta │ ├── SFX.meta │ ├── SFX │ │ ├── doorOpen.ogg │ │ └── doorOpen.ogg.meta │ ├── rocks.jpg │ ├── rocks.jpg.meta │ ├── water-large.jpg │ └── water-large.jpg.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Sounds.meta ├── Sounds │ ├── Music.meta │ ├── Music │ │ ├── menu.wav │ │ └── menu.wav.meta │ ├── SFX.meta │ └── SFX │ │ ├── cloth.ogg │ │ └── cloth.ogg.meta ├── TextMesh Pro.meta ├── TextMesh Pro │ ├── Documentation.meta │ ├── Documentation │ │ ├── TextMesh Pro User Guide 2016.pdf │ │ └── TextMesh Pro User Guide 2016.pdf.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── LiberationSans - OFL.txt │ │ ├── LiberationSans - OFL.txt.meta │ │ ├── LiberationSans.ttf │ │ └── LiberationSans.ttf.meta │ ├── Resources.meta │ ├── Resources │ │ ├── Fonts & Materials.meta │ │ ├── Fonts & Materials │ │ │ ├── LiberationSans SDF - Drop Shadow.mat │ │ │ ├── LiberationSans SDF - Drop Shadow.mat.meta │ │ │ ├── LiberationSans SDF - Fallback.asset │ │ │ ├── LiberationSans SDF - Fallback.asset.meta │ │ │ ├── LiberationSans SDF - Outline.mat │ │ │ ├── LiberationSans SDF - Outline.mat.meta │ │ │ ├── LiberationSans SDF.asset │ │ │ └── LiberationSans SDF.asset.meta │ │ ├── LineBreaking Following Characters.txt │ │ ├── LineBreaking Following Characters.txt.meta │ │ ├── LineBreaking Leading Characters.txt │ │ ├── LineBreaking Leading Characters.txt.meta │ │ ├── Sprite Assets.meta │ │ ├── Sprite Assets │ │ │ ├── EmojiOne.asset │ │ │ └── EmojiOne.asset.meta │ │ ├── Style Sheets.meta │ │ ├── Style Sheets │ │ │ ├── Default Style Sheet.asset │ │ │ └── Default Style Sheet.asset.meta │ │ ├── TMP Settings.asset │ │ └── TMP Settings.asset.meta │ ├── Shaders.meta │ ├── Shaders │ │ ├── TMP_Bitmap-Custom-Atlas.shader │ │ ├── TMP_Bitmap-Custom-Atlas.shader.meta │ │ ├── TMP_Bitmap-Mobile.shader │ │ ├── TMP_Bitmap-Mobile.shader.meta │ │ ├── TMP_Bitmap.shader │ │ ├── TMP_Bitmap.shader.meta │ │ ├── TMP_SDF Overlay.shader │ │ ├── TMP_SDF Overlay.shader.meta │ │ ├── TMP_SDF SSD.shader │ │ ├── TMP_SDF SSD.shader.meta │ │ ├── TMP_SDF-Mobile Masking.shader │ │ ├── TMP_SDF-Mobile Masking.shader.meta │ │ ├── TMP_SDF-Mobile Overlay.shader │ │ ├── TMP_SDF-Mobile Overlay.shader.meta │ │ ├── TMP_SDF-Mobile SSD.shader │ │ ├── TMP_SDF-Mobile SSD.shader.meta │ │ ├── TMP_SDF-Mobile.shader │ │ ├── TMP_SDF-Mobile.shader.meta │ │ ├── TMP_SDF-Surface-Mobile.shader │ │ ├── TMP_SDF-Surface-Mobile.shader.meta │ │ ├── TMP_SDF-Surface.shader │ │ ├── TMP_SDF-Surface.shader.meta │ │ ├── TMP_SDF.shader │ │ ├── TMP_SDF.shader.meta │ │ ├── TMP_Sprite.shader │ │ ├── TMP_Sprite.shader.meta │ │ ├── TMPro.cginc │ │ ├── TMPro.cginc.meta │ │ ├── TMPro_Mobile.cginc │ │ ├── TMPro_Mobile.cginc.meta │ │ ├── TMPro_Properties.cginc │ │ ├── TMPro_Properties.cginc.meta │ │ ├── TMPro_Surface.cginc │ │ └── TMPro_Surface.cginc.meta │ ├── Sprites.meta │ └── Sprites │ │ ├── EmojiOne Attribution.txt │ │ ├── EmojiOne Attribution.txt.meta │ │ ├── EmojiOne.json │ │ ├── EmojiOne.json.meta │ │ ├── EmojiOne.png │ │ └── EmojiOne.png.meta ├── sand.jpg ├── sand.jpg.meta ├── water.jpg └── water.jpg.meta ├── Docs ├── audio.png ├── build-logs.png ├── export.png ├── menu-option.png ├── models.png └── textures.png ├── LICENSE.md ├── Packages ├── com.unity.asset-store-tools │ ├── CHANGELOG.md │ ├── CHANGELOG.md.meta │ ├── Editor.meta │ ├── Editor │ │ ├── AssemblyInfo.cs │ │ ├── AssemblyInfo.cs.meta │ │ ├── AssetStoreTools.cs │ │ ├── AssetStoreTools.cs.meta │ │ ├── AssetStoreToolsWindow.cs │ │ ├── AssetStoreToolsWindow.cs.meta │ │ ├── AssetStoreUploader.meta │ │ ├── AssetStoreUploader │ │ │ ├── AssetStoreUploader.cs │ │ │ ├── AssetStoreUploader.cs.meta │ │ │ ├── Icons.meta │ │ │ ├── Icons │ │ │ │ ├── open-in-browser.png │ │ │ │ ├── open-in-browser.png.meta │ │ │ │ ├── publisher_portal_black.png │ │ │ │ ├── publisher_portal_black.png.meta │ │ │ │ ├── publisher_portal_white.png │ │ │ │ └── publisher_portal_white.png.meta │ │ │ ├── Scripts.meta │ │ │ ├── Scripts │ │ │ │ ├── ASAnalytics.cs │ │ │ │ ├── ASAnalytics.cs.meta │ │ │ │ ├── ASDebug.cs │ │ │ │ ├── ASDebug.cs.meta │ │ │ │ ├── ASError.cs │ │ │ │ ├── ASError.cs.meta │ │ │ │ ├── AssetStoreAPI.cs │ │ │ │ ├── AssetStoreAPI.cs.meta │ │ │ │ ├── AssetStoreCache.cs │ │ │ │ ├── AssetStoreCache.cs.meta │ │ │ │ ├── LoginWindow.meta │ │ │ │ ├── LoginWindow │ │ │ │ │ ├── LoginWindow.cs │ │ │ │ │ └── LoginWindow.cs.meta │ │ │ │ ├── OngoingUpload.cs │ │ │ │ ├── OngoingUpload.cs.meta │ │ │ │ ├── PackageData.cs │ │ │ │ ├── PackageData.cs.meta │ │ │ │ ├── PackageExporter.cs │ │ │ │ ├── PackageExporter.cs.meta │ │ │ │ ├── PackageFetcher.cs │ │ │ │ ├── PackageFetcher.cs.meta │ │ │ │ ├── PackageUploadResult.cs │ │ │ │ ├── PackageUploadResult.cs.meta │ │ │ │ ├── StyleSelector.cs │ │ │ │ ├── StyleSelector.cs.meta │ │ │ │ ├── UploadWindow.meta │ │ │ │ └── UploadWindow │ │ │ │ │ ├── AllPackageView.meta │ │ │ │ │ ├── AllPackageView │ │ │ │ │ ├── AllPackageView.cs │ │ │ │ │ ├── AllPackageView.cs.meta │ │ │ │ │ ├── FolderUploadWorkflowView.cs │ │ │ │ │ ├── FolderUploadWorkflowView.cs.meta │ │ │ │ │ ├── HybridPackageUploadWorkflowView.cs │ │ │ │ │ ├── HybridPackageUploadWorkflowView.cs.meta │ │ │ │ │ ├── PackageGroup.cs │ │ │ │ │ ├── PackageGroup.cs.meta │ │ │ │ │ ├── PackageView.cs │ │ │ │ │ ├── PackageView.cs.meta │ │ │ │ │ ├── PackageViewStorer.cs │ │ │ │ │ ├── PackageViewStorer.cs.meta │ │ │ │ │ ├── UnityPackageUploadWorkflowView.cs │ │ │ │ │ ├── UnityPackageUploadWorkflowView.cs.meta │ │ │ │ │ ├── UploadWorkflowView.cs │ │ │ │ │ ├── UploadWorkflowView.cs.meta │ │ │ │ │ ├── ValidationElement.cs │ │ │ │ │ └── ValidationElement.cs.meta │ │ │ │ │ ├── UploadWindow.cs │ │ │ │ │ └── UploadWindow.cs.meta │ │ │ ├── Styles.meta │ │ │ └── Styles │ │ │ │ ├── Base.meta │ │ │ │ ├── Base │ │ │ │ ├── BaseWindow_Dark.uss │ │ │ │ ├── BaseWindow_Dark.uss.meta │ │ │ │ ├── BaseWindow_Light.uss │ │ │ │ ├── BaseWindow_Light.uss.meta │ │ │ │ ├── BaseWindow_Main.uss │ │ │ │ ├── BaseWindow_Main.uss.meta │ │ │ │ ├── BaseWindow_Main.uxml │ │ │ │ └── BaseWindow_Main.uxml.meta │ │ │ │ ├── Login.meta │ │ │ │ ├── Login │ │ │ │ ├── Login_Dark.uss │ │ │ │ ├── Login_Dark.uss.meta │ │ │ │ ├── Login_Light.uss │ │ │ │ ├── Login_Light.uss.meta │ │ │ │ ├── Login_Main.uss │ │ │ │ └── Login_Main.uss.meta │ │ │ │ ├── Upload.meta │ │ │ │ └── Upload │ │ │ │ ├── AllPackages.meta │ │ │ │ ├── AllPackages │ │ │ │ ├── AllPackages_Dark.uss │ │ │ │ ├── AllPackages_Dark.uss.meta │ │ │ │ ├── AllPackages_Light.uss │ │ │ │ ├── AllPackages_Light.uss.meta │ │ │ │ ├── AllPackages_Main.uss │ │ │ │ └── AllPackages_Main.uss.meta │ │ │ │ ├── UploadWindow_Dark.uss │ │ │ │ ├── UploadWindow_Dark.uss.meta │ │ │ │ ├── UploadWindow_Light.uss │ │ │ │ ├── UploadWindow_Light.uss.meta │ │ │ │ ├── UploadWindow_Main.uss │ │ │ │ └── UploadWindow_Main.uss.meta │ │ ├── AssetStoreValidator.meta │ │ ├── AssetStoreValidator │ │ │ ├── AssetStoreValidation.cs │ │ │ ├── AssetStoreValidation.cs.meta │ │ │ ├── Icons.meta │ │ │ ├── Icons │ │ │ │ ├── error.png │ │ │ │ ├── error.png.meta │ │ │ │ ├── error_d.png │ │ │ │ ├── error_d.png.meta │ │ │ │ ├── success.png │ │ │ │ ├── success.png.meta │ │ │ │ ├── success_d.png │ │ │ │ ├── success_d.png.meta │ │ │ │ ├── undefined.png │ │ │ │ ├── undefined.png.meta │ │ │ │ ├── undefined_d.png │ │ │ │ ├── undefined_d.png.meta │ │ │ │ ├── warning.png │ │ │ │ ├── warning.png.meta │ │ │ │ ├── warning_d.png │ │ │ │ └── warning_d.png.meta │ │ │ ├── Scripts.meta │ │ │ ├── Scripts │ │ │ │ ├── Categories.meta │ │ │ │ ├── Categories │ │ │ │ │ ├── CategoryEvaluator.cs │ │ │ │ │ ├── CategoryEvaluator.cs.meta │ │ │ │ │ ├── ValidatorCategory.cs │ │ │ │ │ └── ValidatorCategory.cs.meta │ │ │ │ ├── Data.meta │ │ │ │ ├── Data │ │ │ │ │ ├── MessageActions.cs │ │ │ │ │ ├── MessageActions.cs.meta │ │ │ │ │ ├── TestResult.cs │ │ │ │ │ ├── TestResult.cs.meta │ │ │ │ │ ├── ValidationState.cs │ │ │ │ │ └── ValidationState.cs.meta │ │ │ │ ├── Elements.meta │ │ │ │ ├── Elements │ │ │ │ │ ├── AutomatedTestElement.cs │ │ │ │ │ ├── AutomatedTestElement.cs.meta │ │ │ │ │ ├── AutomatedTestsGroup.cs │ │ │ │ │ ├── AutomatedTestsGroup.cs.meta │ │ │ │ │ ├── AutomatedTestsGroupElement.cs │ │ │ │ │ ├── AutomatedTestsGroupElement.cs.meta │ │ │ │ │ ├── PathBoxElement.cs │ │ │ │ │ ├── PathBoxElement.cs.meta │ │ │ │ │ ├── ValidationInfoElement.cs │ │ │ │ │ └── ValidationInfoElement.cs.meta │ │ │ │ ├── Test Definitions.meta │ │ │ │ ├── Test Definitions │ │ │ │ │ ├── AutomatedTest.cs │ │ │ │ │ ├── AutomatedTest.cs.meta │ │ │ │ │ ├── ScriptableObjects.meta │ │ │ │ │ ├── ScriptableObjects │ │ │ │ │ │ ├── AutomatedTestScriptableObject.cs │ │ │ │ │ │ ├── AutomatedTestScriptableObject.cs.meta │ │ │ │ │ │ ├── Editor.meta │ │ │ │ │ │ ├── Editor │ │ │ │ │ │ │ ├── ValidationTestScriptableObjectInspector.cs │ │ │ │ │ │ │ └── ValidationTestScriptableObjectInspector.cs.meta │ │ │ │ │ │ ├── ValidationTestScriptableObject.cs │ │ │ │ │ │ └── ValidationTestScriptableObject.cs.meta │ │ │ │ │ ├── ValidationTest.cs │ │ │ │ │ └── ValidationTest.cs.meta │ │ │ │ ├── TestActions.cs │ │ │ │ ├── TestActions.cs.meta │ │ │ │ ├── Utility.meta │ │ │ │ └── Utility │ │ │ │ │ ├── NamespaceUtility.cs │ │ │ │ │ ├── NamespaceUtility.cs.meta │ │ │ │ │ ├── ValidatorUtility.cs │ │ │ │ │ └── ValidatorUtility.cs.meta │ │ │ ├── Styles.meta │ │ │ ├── Styles │ │ │ │ ├── AssetStoreValidator_Dark.uss │ │ │ │ ├── AssetStoreValidator_Dark.uss.meta │ │ │ │ ├── AssetStoreValidator_Light.uss │ │ │ │ ├── AssetStoreValidator_Light.uss.meta │ │ │ │ ├── AssetStoreValidator_Main.uss │ │ │ │ └── AssetStoreValidator_Main.uss.meta │ │ │ ├── Tests.meta │ │ │ └── Tests │ │ │ │ ├── 01_IncludeDemo.asset │ │ │ │ ├── 01_IncludeDemo.asset.meta │ │ │ │ ├── 02_MeshesHavePrefabsAutomatedTest.asset │ │ │ │ ├── 02_MeshesHavePrefabsAutomatedTest.asset.meta │ │ │ │ ├── 03_ResetPrefabs.asset │ │ │ │ ├── 03_ResetPrefabs.asset.meta │ │ │ │ ├── 04_IncludeColliders.asset │ │ │ │ ├── 04_IncludeColliders.asset.meta │ │ │ │ ├── 05_EmptyPrefab.asset │ │ │ │ ├── 05_EmptyPrefab.asset.meta │ │ │ │ ├── 06_IncludeDocumentation.asset │ │ │ │ ├── 06_IncludeDocumentation.asset.meta │ │ │ │ ├── 07_FixOrientation.asset │ │ │ │ ├── 07_FixOrientation.asset.meta │ │ │ │ ├── 08_RemoveJPG.asset │ │ │ │ ├── 08_RemoveJPG.asset.meta │ │ │ │ ├── 09_AssetMissingComponentAutomatedTest.asset │ │ │ │ ├── 09_AssetMissingComponentAutomatedTest.asset.meta │ │ │ │ ├── 10_MissingComponentAutomatedTest.asset │ │ │ │ ├── 10_MissingComponentAutomatedTest.asset.meta │ │ │ │ ├── 11_RemoveJavaScriptAutomatedTest.asset │ │ │ │ ├── 11_RemoveJavaScriptAutomatedTest.asset.meta │ │ │ │ ├── 12_RemoveLossyAudioAutomatedTest.asset │ │ │ │ ├── 12_RemoveLossyAudioAutomatedTest.asset.meta │ │ │ │ ├── 13_RemoveVideosAutomatedTest.asset │ │ │ │ ├── 13_RemoveVideosAutomatedTest.asset.meta │ │ │ │ ├── 14_RemoveExecutablesAutomatedTest.asset │ │ │ │ ├── 14_RemoveExecutablesAutomatedTest.asset.meta │ │ │ │ ├── 15_RemoveMixamoAutomatedTest.asset │ │ │ │ ├── 15_RemoveMixamoAutomatedTest.asset.meta │ │ │ │ ├── 16_RemoveSpeedTreeAutomatedTest.asset │ │ │ │ ├── 16_RemoveSpeedTreeAutomatedTest.asset.meta │ │ │ │ ├── 17_CheckLODs.asset │ │ │ │ ├── 17_CheckLODs.asset.meta │ │ │ │ ├── 18_ShaderCompilerErrors.asset │ │ │ │ ├── 18_ShaderCompilerErrors.asset.meta │ │ │ │ ├── 19_TypesHaveNamespaces.asset │ │ │ │ ├── 19_TypesHaveNamespaces.asset.meta │ │ │ │ ├── 20_ConsistentLineEndings.asset │ │ │ │ └── 20_ConsistentLineEndings.asset.meta │ │ ├── Unity.AssetStoreTools.Editor.asmdef │ │ ├── Unity.AssetStoreTools.Editor.asmdef.meta │ │ ├── Utility.meta │ │ └── Utility │ │ │ ├── ASToolsPreferences.cs │ │ │ ├── ASToolsPreferences.cs.meta │ │ │ ├── Json.cs │ │ │ ├── Json.cs.meta │ │ │ ├── LegacyToolsRemover.cs │ │ │ ├── LegacyToolsRemover.cs.meta │ │ │ ├── PackageUtility.cs │ │ │ ├── PackageUtility.cs.meta │ │ │ ├── SymlinkUtil.cs │ │ │ └── SymlinkUtil.cs.meta │ ├── LICENSE.md │ ├── LICENSE.md.meta │ ├── package.json │ └── package.json.meta ├── 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 ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset └── README.md /.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/main/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 | # Recordings can get excessive in size 18 | /[Rr]ecordings/ 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 | *.app 63 | 64 | # Crashlytics generated file 65 | crashlytics-build.properties 66 | 67 | # Packed Addressables 68 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 69 | 70 | # Temporary auto-generated Android Assets 71 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 72 | /[Aa]ssets/[Ss]treamingAssets/aa/* 73 | 74 | 75 | .idea 76 | .DS_Store -------------------------------------------------------------------------------- /.vsconfig: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "components": [ 4 | "Microsoft.VisualStudio.Workload.ManagedGame" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18e7731165076fa41822c20da7ae694e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73acb8f311aa9ff4c82e6a2da840344c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/OptimizerUtils.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEditor; 3 | 4 | namespace CrazyGames 5 | { 6 | public class OptimizerUtils 7 | { 8 | /** 9 | * Find the paths of the scenes that will end up in the final build of the game. 10 | */ 11 | public static List GetScenesInBuildPath() 12 | { 13 | var scenesInBuild = new List(); 14 | foreach (var scene in EditorBuildSettings.scenes) 15 | { 16 | if (scene.enabled) 17 | { 18 | scenesInBuild.Add(scene.path); 19 | } 20 | } 21 | 22 | return scenesInBuild; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/OptimizerUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90b9592ccf6445089ce864d52024deff 3 | timeCreated: 1680510012 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/OptimizerWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04bcdea6db60a7a469e86f1895825cf2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33b4c988bc0702d4381e32dbd4958370 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/Resources/CrazyGamesLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/CrazyOptimizer/Editor/Resources/CrazyGamesLogo.png -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c728e696b9f4a04bb1546d790125563 3 | timeCreated: 1653313883 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeElement.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace CrazyGames.TreeLib 6 | { 7 | [Serializable] 8 | public class TreeElement 9 | { 10 | [SerializeField] int m_ID; 11 | [SerializeField] string m_Name; 12 | [SerializeField] int m_Depth; 13 | [NonSerialized] TreeElement m_Parent; 14 | [NonSerialized] List m_Children; 15 | 16 | public int depth 17 | { 18 | get { return m_Depth; } 19 | set { m_Depth = value; } 20 | } 21 | 22 | public TreeElement parent 23 | { 24 | get { return m_Parent; } 25 | set { m_Parent = value; } 26 | } 27 | 28 | public List children 29 | { 30 | get { return m_Children; } 31 | set { m_Children = value; } 32 | } 33 | 34 | public bool hasChildren 35 | { 36 | get { return children != null && children.Count > 0; } 37 | } 38 | 39 | public string name 40 | { 41 | get { return m_Name; } 42 | set { m_Name = value; } 43 | } 44 | 45 | public int id 46 | { 47 | get { return m_ID; } 48 | set { m_ID = value; } 49 | } 50 | 51 | public TreeElement() 52 | { 53 | } 54 | 55 | public TreeElement(string name, int depth, int id) 56 | { 57 | m_Name = name; 58 | m_ID = id; 59 | m_Depth = depth; 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 096706fbbb8448eb837955b59fbde39b 3 | timeCreated: 1653313507 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeElementUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62277849e9332584bb04eab0afed88d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeExtensionMethods.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | namespace CrazyGames.TreeLib 6 | { 7 | internal static class TreeExtensionMethods 8 | { 9 | public static IOrderedEnumerable Order(this IEnumerable source, Func selector, bool ascending) 10 | { 11 | return ascending ? source.OrderBy(selector) : source.OrderByDescending(selector); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeExtensionMethods.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 097c83d83fc54d339298dd7b9d8b6e2f 3 | timeCreated: 1653376215 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9b0de14aec56214a968a364a17bd725 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/TreeLib/TreeViewWithTreeModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c203a5a38c59dd4e885d3b05d91171f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5007f95dfeb34a1cab83f8a15ead0978 3 | timeCreated: 1653388212 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/About.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace CrazyGames.WindowComponents 5 | { 6 | public class About 7 | { 8 | public static void RenderGUI() 9 | { 10 | EditorGUILayout.BeginHorizontal(); 11 | GUILayout.FlexibleSpace(); 12 | 13 | GUILayout.Label( 14 | "The purpose of this package is to help you optimize your game by reducing the build size and increasing the performance. At the moment, it is targeted at WebGL games.", 15 | EditorStyles.wordWrappedLabel); 16 | 17 | GUILayout.FlexibleSpace(); 18 | EditorGUILayout.EndHorizontal(); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/About.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b42eeaef18843438885e9481cbe5d4d 3 | timeCreated: 1653388236 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/AudioOptimizations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bd5ed0093304b64a6bae74d786e199c 3 | timeCreated: 1680509140 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/AudioOptimizations/AudioOptimization.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 460e560690184f2a80c7dfa58cfe87e1 3 | timeCreated: 1680509140 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/AudioOptimizations/AudioTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8b6013ce57842778a9a012235efa32c 3 | timeCreated: 1680509140 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/AudioOptimizations/AudioTreeItem.cs: -------------------------------------------------------------------------------- 1 | using CrazyGames.TreeLib; 2 | using System; 3 | using System.IO; 4 | using UnityEditor; 5 | using UnityEngine; 6 | 7 | namespace CrazyGames.WindowComponents.AudioOptimizations 8 | { 9 | public class AudioTreeItem : TreeElement 10 | { 11 | public string AudioPath { get; } 12 | public string AudioName { get; } 13 | 14 | public string LoadType 15 | { 16 | get 17 | { 18 | switch (_platformSettings.loadType) 19 | { 20 | case AudioClipLoadType.DecompressOnLoad: 21 | return "Decompress on load"; 22 | case AudioClipLoadType.CompressedInMemory: 23 | return "Compressed in memory"; 24 | case AudioClipLoadType.Streaming: 25 | return "Streaming"; 26 | default: 27 | throw new ArgumentOutOfRangeException(); 28 | } 29 | } 30 | } 31 | 32 | public int Quality => Mathf.RoundToInt(_platformSettings.quality * 100); 33 | 34 | private readonly AudioImporter _audioImporter; 35 | private readonly AudioImporterSampleSettings _platformSettings; 36 | 37 | public AudioTreeItem(string name, int depth, int id, string audioPath, AudioImporter audioImporter) : base(name, depth, id) 38 | { 39 | if (depth == -1) 40 | return; 41 | 42 | AudioPath = audioPath; 43 | AudioName = Path.GetFileName(audioPath); 44 | 45 | _audioImporter = audioImporter; 46 | _platformSettings = _audioImporter.GetOverrideSampleSettings("WebGL"); 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/AudioOptimizations/AudioTreeItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c7517f8438a4b8d993918e682581d10 3 | timeCreated: 1680509140 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/BuildLogs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb5e9ecd10798de439c95cabd6ce595e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/BuildLogs/BuildLogTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b06e951d30454827ac796134f9f04808 3 | timeCreated: 1658730965 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/BuildLogs/BuildLogTreeItem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using CrazyGames.TreeLib; 4 | using UnityEditor; 5 | 6 | namespace CrazyOptimizer.Editor.WindowComponents.BuildLogs 7 | { 8 | public class BuildLogTreeItem : TreeElement 9 | { 10 | public readonly float size; 11 | public readonly string sizeUnit; 12 | public readonly float sizePercentage; 13 | public readonly string filePath; 14 | 15 | public float sizeInBytes 16 | { 17 | get 18 | { 19 | switch (sizeUnit) 20 | { 21 | case "kb": 22 | return size * 1024; 23 | case "mb": 24 | return size * 1024 * 1024; 25 | default: 26 | throw new Exception("Unknown size unit " + sizeUnit); 27 | } 28 | } 29 | } 30 | 31 | 32 | public BuildLogTreeItem(string name, int depth, int id, float size, string sizeUnit, float sizePercentage, string filePath) : base(name, depth, id) 33 | { 34 | if (depth == -1) 35 | return; 36 | this.size = size; 37 | this.sizeUnit = sizeUnit; 38 | this.sizePercentage = sizePercentage; 39 | this.filePath = filePath; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/BuildLogs/BuildLogTreeItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac11774a953d4a848db868e51befd14d 3 | timeCreated: 1658730965 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/BuildLogs/BuildLogs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3970abc11f433ed408f7e538d4a5233a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ExportOptimizations.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27d3fd72c46640efb9cc5fd9f3159473 3 | timeCreated: 1653387908 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ModelOptimizations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4083a4a4f82bed44aabfe23b9c804a1e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ModelOptimizations/ModelOptimization.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cae1da0927e7e443a16423ca0a50c75 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ModelOptimizations/ModelTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6729fffa4209c144faf23a20d683ac52 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ModelOptimizations/ModelTreeItem.cs: -------------------------------------------------------------------------------- 1 | using CrazyGames.TreeLib; 2 | using System; 3 | using System.IO; 4 | using UnityEditor; 5 | 6 | namespace CrazyGames.WindowComponents.ModelOptimizations 7 | { 8 | public class ModelTreeItem : TreeElement 9 | { 10 | public string ModelPath { get; } 11 | public string ModelName { get; } 12 | 13 | public bool IsReadWriteEnabled => _modelImporter.isReadable; 14 | public bool ArePolygonsOptimized => _modelImporter.optimizeMeshPolygons; 15 | public bool AreVerticesOptimized => _modelImporter.optimizeMeshVertices; 16 | public ModelImporterMeshCompression MeshCompression => _modelImporter.meshCompression; 17 | public ModelImporterAnimationCompression AnimationCompression => _modelImporter.animationCompression; 18 | 19 | public string MeshCompressionName 20 | { 21 | get 22 | { 23 | switch (MeshCompression) 24 | { 25 | case ModelImporterMeshCompression.Off: 26 | return "Off"; 27 | case ModelImporterMeshCompression.Low: 28 | return "Low"; 29 | case ModelImporterMeshCompression.Medium: 30 | return "Medium"; 31 | case ModelImporterMeshCompression.High: 32 | return "High"; 33 | default: 34 | throw new ArgumentOutOfRangeException(); 35 | } 36 | } 37 | } 38 | 39 | public string AnimationCompressionName 40 | { 41 | get 42 | { 43 | switch (AnimationCompression) 44 | { 45 | case ModelImporterAnimationCompression.Off: 46 | return "Off"; 47 | case ModelImporterAnimationCompression.KeyframeReduction: 48 | return "KeyframeReduction"; 49 | case ModelImporterAnimationCompression.KeyframeReductionAndCompression: 50 | return "KeyframeReductionAndCompression"; 51 | case ModelImporterAnimationCompression.Optimal: 52 | return "Optimal"; 53 | default: 54 | throw new ArgumentOutOfRangeException(); 55 | } 56 | } 57 | } 58 | 59 | private readonly ModelImporter _modelImporter; 60 | 61 | public ModelTreeItem(string name, int depth, int id, string modelPath, ModelImporter modelImporter) : base(name, depth, id) 62 | { 63 | if (depth == -1) 64 | return; 65 | 66 | ModelPath = modelPath; 67 | ModelName = Path.GetFileName(modelPath); 68 | 69 | _modelImporter = modelImporter; 70 | } 71 | } 72 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/ModelOptimizations/ModelTreeItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c71c612672d847b43bebe1d5e508b09f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/TextureOptimizations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffbaf2af5ed640508934f735de74578d 3 | timeCreated: 1653390749 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/TextureOptimizations/TextureOptimization.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d68891c6622e41c59ad71360ac58894d 3 | timeCreated: 1653292903 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/TextureOptimizations/TextureTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d19b07e358614a55849170717c3cb8c7 3 | timeCreated: 1653313496 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/TextureOptimizations/TextureTreeItem.cs: -------------------------------------------------------------------------------- 1 | using CrazyGames.TreeLib; 2 | using System; 3 | using System.IO; 4 | using UnityEditor; 5 | 6 | namespace CrazyGames.WindowComponents.TextureOptimizations 7 | { 8 | public class TextureTreeItem : TreeElement 9 | { 10 | public string TexturePath { get; } 11 | public string TextureName { get; } 12 | 13 | public int TextureMaxSize => _platformSettings.maxTextureSize; 14 | public int CrunchCompressionQuality => _platformSettings.compressionQuality; 15 | public bool HasCrunchCompression => _textureImporter.crunchedCompression; 16 | public TextureImporterFormat TextureFormat => _platformSettings.format; 17 | public TextureImporterType TextureType => _textureImporter.textureType; 18 | public TextureImporterCompression TextureCompression => _textureImporter.textureCompression; 19 | 20 | public string TextureCompressionName 21 | { 22 | get 23 | { 24 | switch (TextureCompression) 25 | { 26 | case TextureImporterCompression.Uncompressed: 27 | return "Uncompressed"; 28 | case TextureImporterCompression.Compressed: 29 | return "Normal"; 30 | case TextureImporterCompression.CompressedHQ: 31 | return "High"; 32 | case TextureImporterCompression.CompressedLQ: 33 | return "Low"; 34 | default: 35 | throw new ArgumentOutOfRangeException(); 36 | } 37 | } 38 | } 39 | 40 | private readonly TextureImporter _textureImporter; 41 | private readonly TextureImporterPlatformSettings _platformSettings; 42 | 43 | public TextureTreeItem(string name, int depth, int id, string texturePath, TextureImporter textureImporter) : base(name, depth, id) 44 | { 45 | if (depth == -1) 46 | return; 47 | 48 | TexturePath = texturePath; 49 | TextureName = Path.GetFileName(texturePath); 50 | 51 | _textureImporter = textureImporter; 52 | _platformSettings = _textureImporter.GetPlatformTextureSettings("WebGL"); 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/Editor/WindowComponents/TextureOptimizations/TextureTreeItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb1172ca36d84698b67f2ce10001e73f 3 | timeCreated: 1653313901 -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/WebGL Optimizer docs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/CrazyOptimizer/WebGL Optimizer docs.pdf -------------------------------------------------------------------------------- /Assets/CrazyOptimizer/WebGL Optimizer docs.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d710bc8f566db67409e5d50b17d8185c 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e99586f7d2483574485f1e090caa879b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Sand.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: Sand 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: 2800000, guid: 08a6e6620574a414eb3941b29ce2d4c6, type: 3} 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 | m_BuildTextureStacks: [] 79 | -------------------------------------------------------------------------------- /Assets/Materials/Sand.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d4eb3640f008a7429883e5428fdf64a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37d94f80f44bd084b9f46bd1676328f8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e28e669bb525434a90bfb96747276fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Models/Cheese.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/Models/Cheese.fbx -------------------------------------------------------------------------------- /Assets/Resources/Models/Hotdog.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/Models/Hotdog.fbx -------------------------------------------------------------------------------- /Assets/Resources/Models/Robot Kyle.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/Models/Robot Kyle.fbx -------------------------------------------------------------------------------- /Assets/Resources/Rocks.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: Rocks 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: 2800000, guid: c512a0eb4fdbe7042bd9b6db4c3d7461, type: 3} 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 | m_BuildTextureStacks: [] 79 | -------------------------------------------------------------------------------- /Assets/Resources/Rocks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e87b557cba298748a6464e5b3baac32 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/SFX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a1095422a5ad5c439883a89acf8bfad 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/SFX/doorOpen.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/SFX/doorOpen.ogg -------------------------------------------------------------------------------- /Assets/Resources/SFX/doorOpen.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97eda1dd4c7a423409a7214908691948 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/Resources/rocks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/rocks.jpg -------------------------------------------------------------------------------- /Assets/Resources/rocks.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c512a0eb4fdbe7042bd9b6db4c3d7461 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 0 39 | wrapV: 0 40 | wrapW: 0 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Assets/Resources/water-large.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Resources/water-large.jpg -------------------------------------------------------------------------------- /Assets/Resources/water-large.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77e0ad78bad9ce145916c6387a404802 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 0 39 | wrapV: 0 40 | wrapW: 0 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf905fac3e39777438b4fc6f01918e68 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sounds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 531b0d743a8946b49b38875923b1588a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sounds/Music.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f5c07cbe83c874438bd627133e2db0c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sounds/Music/menu.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Sounds/Music/menu.wav -------------------------------------------------------------------------------- /Assets/Sounds/Music/menu.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a896ca6bd757574594a681d14673f24 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 1 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 0.5 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/Sounds/SFX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cc041e65206fdc429b6a01479b4699f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sounds/SFX/cloth.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/Sounds/SFX/cloth.ogg -------------------------------------------------------------------------------- /Assets/Sounds/SFX/cloth.ogg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b3c288ac49071748a62d12ae2c88525 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f54d1bd14bd3ca042bd867b519fee8cc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e7e8f5a82a3a134e91c54efd2274ea9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8d251f9af63b746bf2f7ffe00ebb9b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ab70aee4d56447429c680537fbf93ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e59c59b81ab47f9b6ec5781fa725d2c 3 | timeCreated: 1484171296 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/TextMesh Pro/Fonts/LiberationSans.ttf -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3265ab4bf004d28a9537516768c1c75 3 | timeCreated: 1484171297 4 | licenseType: Pro 5 | TrueTypeFontImporter: 6 | serializedVersion: 2 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 1 10 | characterPadding: 0 11 | includeFontData: 1 12 | use2xBehaviour: 0 13 | fontNames: [] 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | userData: 18 | assetBundleName: 19 | assetBundleVariant: 20 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243e06394e614e5d99fab26083b707fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 731f1baa9d144a9897cb1d341c2092b8 3 | folderAsset: yes 4 | timeCreated: 1442040525 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e73a58f6e2794ae7b1b7e50b7fb811b0 3 | timeCreated: 1484172806 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e498d1c8094910479dc3e1b768306a4 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79459efec17a4d00a321bdcc27bbc385 3 | timeCreated: 1484172856 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f586378b4e144a9851e7b34d9b748ee 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt: -------------------------------------------------------------------------------- 1 | )]}〕〉》」』】〙〗〟’”⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、%,.:;。!?]):;=}¢°"†‡℃〆%,. -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fade42e8bc714b018fac513c043d323b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt: -------------------------------------------------------------------------------- 1 | ([{〔〈《「『【〘〖〝‘“⦅«$—…‥〳〴〵\[({£¥"々〇$¥₩ # -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d82c1b31c7e74239bff1220585707d2b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Sprite Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 512a49d95c0c4332bdd98131869c23c9 3 | folderAsset: yes 4 | timeCreated: 1441876896 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c41005c129ba4d66911b75229fd70b45 3 | timeCreated: 1480316912 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Style Sheets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aecb92fff08436c8303b10eab8da368 3 | folderAsset: yes 4 | timeCreated: 1441876950 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f952c082cb03451daed3ee968ac6c63e 3 | timeCreated: 1432805430 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/TMP Settings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: 2705215ac5b84b70bacc50632be6e391, type: 3} 13 | m_Name: TMP Settings 14 | m_EditorClassIdentifier: 15 | m_enableWordWrapping: 1 16 | m_enableKerning: 1 17 | m_enableExtraPadding: 0 18 | m_enableTintAllSprites: 0 19 | m_enableParseEscapeCharacters: 1 20 | m_EnableRaycastTarget: 1 21 | m_GetFontFeaturesAtRuntime: 1 22 | m_missingGlyphCharacter: 0 23 | m_warningsDisabled: 0 24 | m_defaultFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} 25 | m_defaultFontAssetPath: Fonts & Materials/ 26 | m_defaultFontSize: 36 27 | m_defaultAutoSizeMinRatio: 0.5 28 | m_defaultAutoSizeMaxRatio: 2 29 | m_defaultTextMeshProTextContainerSize: {x: 20, y: 5} 30 | m_defaultTextMeshProUITextContainerSize: {x: 200, y: 50} 31 | m_autoSizeTextContainer: 0 32 | m_fallbackFontAssets: [] 33 | m_matchMaterialPreset: 1 34 | m_defaultSpriteAsset: {fileID: 11400000, guid: c41005c129ba4d66911b75229fd70b45, 35 | type: 2} 36 | m_defaultSpriteAssetPath: Sprite Assets/ 37 | m_enableEmojiSupport: 1 38 | m_MissingCharacterSpriteUnicode: 0 39 | m_defaultColorGradientPresetsPath: Color Gradient Presets/ 40 | m_defaultStyleSheet: {fileID: 11400000, guid: f952c082cb03451daed3ee968ac6c63e, 41 | type: 2} 42 | m_StyleSheetsResourcePath: 43 | m_leadingCharacters: {fileID: 4900000, guid: d82c1b31c7e74239bff1220585707d2b, type: 3} 44 | m_followingCharacters: {fileID: 4900000, guid: fade42e8bc714b018fac513c043d323b, 45 | type: 3} 46 | m_UseModernHangulLineBreakingRules: 0 47 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/TMP Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f5b5dff67a942289a9defa416b206f3 3 | timeCreated: 1436653997 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9f693669af91aa45ad615fc681ed29f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_Bitmap-Custom-Atlas.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bb5f55d8670e349b6e614913f9d910 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_Bitmap-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e3b057af24249748ff873be7fafee47 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_Bitmap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128e987d567d4e2c824d754223b3f3b0 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd89cf5b9246416f84610a006f916af7 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF SSD.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14eb328de4b8eb245bb7cea29e4ac00b 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile Masking.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1ede39bf3643ee8e493720e4259791 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02a7d8c237544f1962732b55a9aebf1 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile SSD.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8d12adcee749c344b8117cf7c7eb912 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe393ace9b354375a9cb14cdbbc28be4 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Surface-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85187c2149c549c5b33f0cdb02836b17 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF-Surface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7ada0af4f174f0694ca6a487b8f543d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_SDF.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68e6db2ebdc24f95958faec2be5558d6 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMP_Sprite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf81c85f95fe47e1a27f6ae460cf182c 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMPro.cginc: -------------------------------------------------------------------------------- 1 | float2 UnpackUV(float uv) 2 | { 3 | float2 output; 4 | output.x = floor(uv / 4096); 5 | output.y = uv - 4096 * output.x; 6 | 7 | return output * 0.001953125; 8 | } 9 | 10 | fixed4 GetColor(half d, fixed4 faceColor, fixed4 outlineColor, half outline, half softness) 11 | { 12 | half faceAlpha = 1-saturate((d - outline * 0.5 + softness * 0.5) / (1.0 + softness)); 13 | half outlineAlpha = saturate((d + outline * 0.5)) * sqrt(min(1.0, outline)); 14 | 15 | faceColor.rgb *= faceColor.a; 16 | outlineColor.rgb *= outlineColor.a; 17 | 18 | faceColor = lerp(faceColor, outlineColor, outlineAlpha); 19 | 20 | faceColor *= faceAlpha; 21 | 22 | return faceColor; 23 | } 24 | 25 | float3 GetSurfaceNormal(float4 h, float bias) 26 | { 27 | bool raisedBevel = step(1, fmod(_ShaderFlags, 2)); 28 | 29 | h += bias+_BevelOffset; 30 | 31 | float bevelWidth = max(.01, _OutlineWidth+_BevelWidth); 32 | 33 | // Track outline 34 | h -= .5; 35 | h /= bevelWidth; 36 | h = saturate(h+.5); 37 | 38 | if(raisedBevel) h = 1 - abs(h*2.0 - 1.0); 39 | h = lerp(h, sin(h*3.141592/2.0), _BevelRoundness); 40 | h = min(h, 1.0-_BevelClamp); 41 | h *= _Bevel * bevelWidth * _GradientScale * -2.0; 42 | 43 | float3 va = normalize(float3(1.0, 0.0, h.y - h.x)); 44 | float3 vb = normalize(float3(0.0, -1.0, h.w - h.z)); 45 | 46 | return cross(va, vb); 47 | } 48 | 49 | float3 GetSurfaceNormal(float2 uv, float bias, float3 delta) 50 | { 51 | // Read "height field" 52 | float4 h = {tex2D(_MainTex, uv - delta.xz).a, 53 | tex2D(_MainTex, uv + delta.xz).a, 54 | tex2D(_MainTex, uv - delta.zy).a, 55 | tex2D(_MainTex, uv + delta.zy).a}; 56 | 57 | return GetSurfaceNormal(h, bias); 58 | } 59 | 60 | float3 GetSpecular(float3 n, float3 l) 61 | { 62 | float spec = pow(max(0.0, dot(n, l)), _Reflectivity); 63 | return _SpecularColor.rgb * spec * _SpecularPower; 64 | } 65 | 66 | float4 GetGlowColor(float d, float scale) 67 | { 68 | float glow = d - (_GlowOffset*_ScaleRatioB) * 0.5 * scale; 69 | float t = lerp(_GlowInner, (_GlowOuter * _ScaleRatioB), step(0.0, glow)) * 0.5 * scale; 70 | glow = saturate(abs(glow/(1.0 + t))); 71 | glow = 1.0-pow(glow, _GlowPower); 72 | glow *= sqrt(min(1.0, t)); // Fade off glow thinner than 1 screen pixel 73 | return float4(_GlowColor.rgb, saturate(_GlowColor.a * glow * 2)); 74 | } 75 | 76 | float4 BlendARGB(float4 overlying, float4 underlying) 77 | { 78 | overlying.rgb *= overlying.a; 79 | underlying.rgb *= underlying.a; 80 | float3 blended = overlying.rgb + ((1-overlying.a)*underlying.rgb); 81 | float alpha = underlying.a + (1-underlying.a)*overlying.a; 82 | return float4(blended, alpha); 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMPro.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 407bc68d299748449bbf7f48ee690f8d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMPro_Mobile.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c334973cef89a9840b0b0c507e0377ab 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMPro_Properties.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3997e2241185407d80309a82f9148466 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Shaders/TMPro_Surface.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d930090c0cd643c7b55f19a38538c162 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0603b6d5186471b96c778c3949c7ce2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt: -------------------------------------------------------------------------------- 1 | This sample of beautiful emojis are provided by EmojiOne https://www.emojione.com/ 2 | 3 | Please visit their website to view the complete set of their emojis and review their licensing terms. -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 381dcb09d5029d14897e55f98031fca5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f05276190cf498a8153f6cbe761d4e6 3 | timeCreated: 1480316860 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/TextMesh Pro/Sprites/EmojiOne.png -------------------------------------------------------------------------------- /Assets/sand.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/sand.jpg -------------------------------------------------------------------------------- /Assets/sand.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08a6e6620574a414eb3941b29ce2d4c6 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 0 39 | wrapV: 0 40 | wrapW: 0 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Assets/water.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Assets/water.jpg -------------------------------------------------------------------------------- /Assets/water.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8f0d2aa947a23a46915e3da94c98840 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 0 39 | wrapV: 0 40 | wrapW: 0 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Docs/audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/audio.png -------------------------------------------------------------------------------- /Docs/build-logs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/build-logs.png -------------------------------------------------------------------------------- /Docs/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/export.png -------------------------------------------------------------------------------- /Docs/menu-option.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/menu-option.png -------------------------------------------------------------------------------- /Docs/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/models.png -------------------------------------------------------------------------------- /Docs/textures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Docs/textures.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06607220dbd46414e8f66bf9c5e3eb79 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 166da5c6fc70e814a8262463903b2714 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.CompilerServices; 2 | [assembly: InternalsVisibleTo("Unity.AssetStoreTools.Editor.Tests.asmdef")] 3 | [assembly: InternalsVisibleTo("ab-builder")] -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssemblyInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccfd7faf75ab3c74a98015e772288d86 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreTools.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | using System; 4 | using AssetStoreTools.Uploader; 5 | using AssetStoreTools.Validator; 6 | using AssetStoreTools.Utility; 7 | 8 | namespace AssetStoreTools 9 | { 10 | internal class AssetStoreTools : EditorWindow 11 | { 12 | [MenuItem("Asset Store Tools/Asset Store Uploader", false, 0)] 13 | public static void ShowAssetStoreToolsUploader() 14 | { 15 | Type inspectorType = Type.GetType("UnityEditor.InspectorWindow,UnityEditor.dll"); 16 | var wnd = GetWindow(inspectorType); 17 | wnd.Show(); 18 | } 19 | 20 | 21 | [MenuItem("Asset Store Tools/Asset Store Validator", false, 1)] 22 | public static void ShowAssetStoreToolsValidator() 23 | { 24 | Type inspectorType = Type.GetType("UnityEditor.InspectorWindow,UnityEditor.dll"); 25 | var wnd = GetWindow(typeof(AssetStoreUploader), inspectorType); 26 | wnd.Show(); 27 | } 28 | 29 | [MenuItem("Asset Store Tools/Publisher Portal", false, 20)] 30 | public static void OpenPublisherPortal() 31 | { 32 | Application.OpenURL("https://publisher.unity.com/"); 33 | } 34 | 35 | [MenuItem("Asset Store Tools/Submission Guidelines", false, 21)] 36 | public static void OpenSubmissionGuidelines() 37 | { 38 | Application.OpenURL("https://assetstore.unity.com/publishing/submission-guidelines/"); 39 | } 40 | 41 | [MenuItem("Asset Store Tools/Provide Feedback", false, 22)] 42 | public static void OpenFeedback() 43 | { 44 | Application.OpenURL("https://forum.unity.com/threads/new-asset-store-tools-version-coming-july-20th-2022.1310939/"); 45 | } 46 | 47 | [MenuItem("Asset Store Tools/Settings", false, 50)] 48 | public static void OpenSettings() 49 | { 50 | ASToolsPreferencesProvider.OpenSettings(); 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreTools.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6060eef206afc844caaa1732538e8890 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreToolsWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | using System; 4 | 5 | namespace AssetStoreTools 6 | { 7 | internal abstract class AssetStoreToolsWindow : EditorWindow 8 | { 9 | protected abstract string WindowTitle { get; } 10 | 11 | protected virtual void Init() 12 | { 13 | titleContent = new GUIContent(WindowTitle); 14 | } 15 | 16 | private void OnEnable() 17 | { 18 | Init(); 19 | } 20 | 21 | } 22 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreToolsWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1057a05baaa45942808573065c02a03 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9722d52df16aab742b26fe301782c74c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/AssetStoreUploader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b5319699cc84194a9a768ad33b86c21 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab9d0e254817f4f4589a6a378d77babc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/open-in-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/open-in-browser.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/publisher_portal_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/publisher_portal_black.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/publisher_portal_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Icons/publisher_portal_white.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15b24ad8f9d236249910fb8eef1e30ea 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/ASAnalytics.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine.Analytics; 3 | 4 | namespace AssetStoreTools.Uploader 5 | { 6 | internal static class ASAnalytics 7 | { 8 | private const int VersionId = 3; 9 | private const int MaxEventsPerHour = 20; 10 | private const int MaxNumberOfElements = 1000; 11 | 12 | private const string VendorKey = "unity.assetStoreTools"; 13 | private const string EventName = "assetStoreTools"; 14 | 15 | static bool EnableAnalytics() 16 | { 17 | var result = EditorAnalytics.RegisterEventWithLimit(EventName, MaxEventsPerHour, MaxNumberOfElements, VendorKey, VersionId); 18 | return result == AnalyticsResult.Ok; 19 | } 20 | 21 | [System.Serializable] 22 | public struct AnalyticsData 23 | { 24 | public string ToolVersion; 25 | public string PackageId; 26 | public string Category; 27 | public bool UsedValidator; 28 | public string ValidatorResults; 29 | public string UploadFinishedReason; 30 | public double TimeTaken; 31 | public long PackageSize; 32 | public string Workflow; 33 | public string EndpointUrl; 34 | } 35 | 36 | public static void SendUploadingEvent(AnalyticsData data) 37 | { 38 | if (!EditorAnalytics.enabled) 39 | return; 40 | 41 | if (!EnableAnalytics()) 42 | return; 43 | 44 | EditorAnalytics.SendEventWithLimit(EventName, data, VersionId); 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/ASAnalytics.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1095145789a64767a6add837eea19786 3 | timeCreated: 1658832954 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/ASDebug.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace AssetStoreTools.Uploader 5 | { 6 | internal static class ASDebug 7 | { 8 | private enum LogType 9 | { 10 | Log, 11 | Warning, 12 | Error 13 | } 14 | 15 | private static bool s_debugModeEnabled = EditorPrefs.GetBool("ASTDebugMode"); 16 | 17 | public static bool DebugModeEnabled 18 | { 19 | get => s_debugModeEnabled; 20 | set 21 | { 22 | s_debugModeEnabled = value; 23 | EditorPrefs.SetBool("ASTDebugMode", value); 24 | } 25 | } 26 | 27 | public static void Log(object message) 28 | { 29 | LogMessage(message, LogType.Log); 30 | } 31 | 32 | public static void LogWarning(object message) 33 | { 34 | LogMessage(message, LogType.Warning); 35 | } 36 | 37 | public static void LogError(object message) 38 | { 39 | LogMessage(message, LogType.Error); 40 | } 41 | 42 | private static void LogMessage(object message, LogType type) 43 | { 44 | if (!DebugModeEnabled) 45 | return; 46 | 47 | switch (type) 48 | { 49 | case LogType.Log: 50 | Debug.Log(message); 51 | break; 52 | case LogType.Warning: 53 | Debug.LogWarning(message); 54 | break; 55 | case LogType.Error: 56 | Debug.LogError(message); 57 | break; 58 | default: 59 | Debug.Log(message); 60 | break; 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/ASDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 478caa497d99100429a0509fa487bfe4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/ASError.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 265ad6f65404f8c42aec35d3b8e6f970 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/AssetStoreAPI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 684fca3fffd79d944a32d9b3adbfc007 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/AssetStoreCache.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e5fee0cad7655f458d9b600f4ae6d02 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/LoginWindow.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6390238ed687a564cb0236e8d6ba8cd9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/LoginWindow/LoginWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4a93170d5bda304895e5feaf6e34aa8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/OngoingUpload.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading; 3 | 4 | namespace AssetStoreTools.Uploader 5 | { 6 | internal class OngoingUpload : IDisposable 7 | { 8 | private CancellationTokenSource _cancellationTokenSource; 9 | 10 | public string VersionId { get; } 11 | public string PackageName { get; } 12 | public float Progress { get; private set; } 13 | public CancellationToken CancellationToken => _cancellationTokenSource.Token; 14 | 15 | public OngoingUpload(string versionId, string packageName) 16 | { 17 | VersionId = versionId; 18 | PackageName = packageName; 19 | Progress = 0f; 20 | _cancellationTokenSource = new CancellationTokenSource(); 21 | } 22 | 23 | public void Cancel() 24 | { 25 | _cancellationTokenSource?.Cancel(); 26 | } 27 | 28 | public void Dispose() 29 | { 30 | _cancellationTokenSource?.Dispose(); 31 | _cancellationTokenSource = null; 32 | } 33 | 34 | public void UpdateProgress(float newProgress) 35 | { 36 | Progress = newProgress; 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/OngoingUpload.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 601fdada4edc5b94eb83a21d1a01ed26 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageData.cs: -------------------------------------------------------------------------------- 1 | namespace AssetStoreTools.Uploader 2 | { 3 | internal class PackageData 4 | { 5 | public string Id { get; } 6 | public string Name { get; } 7 | public string VersionId { get; } 8 | public string Status { get; } 9 | public string Category { get; } 10 | public bool IsCompleteProject { get; } 11 | public string LastUploadedPath { get; } 12 | public string LastUploadedGuid { get; } 13 | 14 | public string LastDate { get; } 15 | public string LastSize { get; } 16 | 17 | public PackageData(string id, string name, string versionId, string status, string category, bool isCompleteProject, string lastUploadedPath, string lastUploadedGuid, string lastDate, string lastSize) 18 | { 19 | Id = id; 20 | Name = name; 21 | VersionId = versionId; 22 | Status = status; 23 | Category = category; 24 | IsCompleteProject = isCompleteProject; 25 | LastUploadedPath = lastUploadedPath; 26 | LastUploadedGuid = lastUploadedGuid; 27 | LastDate = lastDate; 28 | LastSize = lastSize; 29 | } 30 | 31 | public override string ToString() 32 | { 33 | return $"{Id} {Name} {VersionId} {Status} {Category} {LastUploadedPath} {LastUploadedGuid} {IsCompleteProject} {LastDate} {LastSize}"; 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8157930875be4972a48c870a3d1e8ff1 3 | timeCreated: 1658919930 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageExporter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52ef11a59e545544fafaa99a5fa6cce9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageFetcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24e1d75365cc42a09e5c5daec071813e 3 | timeCreated: 1658918833 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageUploadResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace AssetStoreTools.Uploader 7 | { 8 | internal class PackageUploadResult 9 | { 10 | public enum UploadStatus 11 | { 12 | Default = 0, 13 | Success = 1, 14 | Fail = 2, 15 | Cancelled = 3, 16 | ResponseTimeout = 4 17 | } 18 | 19 | public UploadStatus Status; 20 | public ASError Error; 21 | 22 | private PackageUploadResult() { } 23 | 24 | public static PackageUploadResult PackageUploadSuccess() => new PackageUploadResult() { Status = UploadStatus.Success }; 25 | 26 | public static PackageUploadResult PackageUploadFail(ASError e) => new PackageUploadResult() { Status = UploadStatus.Fail, Error = e }; 27 | 28 | public static PackageUploadResult PackageUploadCancelled() => new PackageUploadResult() { Status = UploadStatus.Cancelled }; 29 | 30 | public static PackageUploadResult PackageUploadResponseTimeout() => new PackageUploadResult() { Status = UploadStatus.ResponseTimeout }; 31 | 32 | public static Color GetColorByStatus(UploadStatus status) 33 | { 34 | switch (status) 35 | { 36 | default: 37 | case UploadStatus.Default: 38 | return new Color(0.13f, 0.59f, 0.95f); 39 | case UploadStatus.Success: 40 | return new Color(0f, 0.50f, 0.14f); 41 | case UploadStatus.Cancelled: 42 | return new Color(0.78f, 0.59f, 0f); 43 | case UploadStatus.Fail: 44 | return new Color(0.69f, 0.04f, 0.04f); 45 | } 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/PackageUploadResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 188361b01a1450145a6fc2a7aa0a3a3c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/StyleSelector.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine.UIElements; 3 | 4 | namespace AssetStoreTools.Uploader 5 | { 6 | internal static class StyleSelector 7 | { 8 | private const string StylesPath = "Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/"; 9 | 10 | private const string BaseWindowMain = "Base/BaseWindow_Main.uss"; 11 | private const string BaseWindowLight = "Base/BaseWindow_Light.uss"; 12 | private const string BaseWindowDark = "Base/BaseWindow_Dark.uss"; 13 | 14 | private const string LoginWindowMain = "Login/Login_Main.uss"; 15 | private const string LoginWindowLight = "Login/Login_Light.uss"; 16 | private const string LoginWindowDark = "Login/Login_Dark.uss"; 17 | 18 | private const string UploadWindowMain = "Upload/UploadWindow_Main.uss"; 19 | private const string UploadWindowLight = "Upload/UploadWindow_Light.uss"; 20 | private const string UploadWindowDark = "Upload/UploadWindow_Dark.uss"; 21 | 22 | private const string AllPackagesWindowMain = "Upload/AllPackages/AllPackages_Main.uss"; 23 | private const string AllPackagesWindowLight = "Upload/AllPackages/AllPackages_Light.uss"; 24 | private const string AllPackagesWindowDark = "Upload/AllPackages/AllPackages_Dark.uss"; 25 | 26 | public enum Style 27 | { 28 | Base, 29 | Login, 30 | UploadWindow, 31 | AllPackages, 32 | } 33 | 34 | public static void SetStyle(VisualElement element, Style style, bool isLightTheme) 35 | { 36 | string stylePath = StylesPath, themePath = StylesPath; 37 | 38 | switch (style) 39 | { 40 | case Style.Base: 41 | stylePath += BaseWindowMain; 42 | themePath += isLightTheme ? BaseWindowLight : BaseWindowDark; 43 | break; 44 | case Style.Login: 45 | stylePath += LoginWindowMain; 46 | themePath += isLightTheme ? LoginWindowLight : LoginWindowDark; 47 | break; 48 | case Style.UploadWindow: 49 | stylePath += UploadWindowMain; 50 | themePath += isLightTheme ? UploadWindowLight : UploadWindowDark; 51 | break; 52 | case Style.AllPackages: 53 | stylePath += AllPackagesWindowMain; 54 | themePath += isLightTheme ? AllPackagesWindowLight : AllPackagesWindowDark; 55 | break; 56 | } 57 | 58 | var styleAsset = AssetDatabase.LoadAssetAtPath(stylePath); 59 | var themeAsset = AssetDatabase.LoadAssetAtPath(themePath); 60 | 61 | element.styleSheets.Add(styleAsset); 62 | element.styleSheets.Add(themeAsset); 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/StyleSelector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b066ce502a289a4ca311a86fbf83f45 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4b5569f0f756a4468fb02a9c8171e24 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdb914a9abfc95e41b7834f45f8114d3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/AllPackageView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607cf9e3fb4a49839f2e6a82e0d8d535 3 | timeCreated: 1651220955 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/FolderUploadWorkflowView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8bafd0b9c5b47bc985d17a18fc07978 3 | timeCreated: 1654089523 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/HybridPackageUploadWorkflowView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5472a1f8e8745779ee82d18b63ec19c 3 | timeCreated: 1654112492 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/PackageGroup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd683831688cd414f8cc9cd352689b4d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/PackageView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c2205d924ccc4a458abc3d370143740 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/PackageViewStorer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace AssetStoreTools.Uploader 4 | { 5 | internal static class PackageViewStorer 6 | { 7 | private static readonly Dictionary SavedPackages = new Dictionary(); 8 | 9 | public static PackageView GetPackage(PackageData packageData) 10 | { 11 | string versionId = packageData.VersionId; 12 | if (SavedPackages.ContainsKey(versionId)) 13 | { 14 | var savedPackage = SavedPackages[versionId]; 15 | savedPackage.UpdateDataValues(packageData); 16 | return savedPackage; 17 | } 18 | 19 | var package = new PackageView(packageData); 20 | SavedPackages.Add(package.VersionId, package); 21 | return package; 22 | } 23 | 24 | public static void Reset() 25 | { 26 | SavedPackages.Clear(); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/PackageViewStorer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 582639e8ed53f37499d12efcb4cde2c9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/UnityPackageUploadWorkflowView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9e30749a5784d18a1a2644cc44dda29 3 | timeCreated: 1654112475 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/UploadWorkflowView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f84b47b78aca74c4db1e9b753d41422f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/AllPackageView/ValidationElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cee024b6c5a4407780a9f8677f7a6e97 3 | timeCreated: 1654674025 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Scripts/UploadWindow/UploadWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52c6e85acbb00794686387cd876ffc81 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9398c14296d30f479b9de5f3ec3b827 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2d1d4985f5314246a7cb4ef749974af 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Dark.uss: -------------------------------------------------------------------------------- 1 | .primary-colors 2 | { 3 | /* Light - lighter */ 4 | background-color: rgb(220, 220, 220); 5 | /* Light - middle */ 6 | background-color: rgb(200, 200, 200); 7 | /* Light - darker */ 8 | background-color: rgb(180, 180, 180); 9 | 10 | /* Dark - lighter */ 11 | background-color: rgb(78, 78, 78); 12 | /* Dark - middle */ 13 | background-color: rgb(68, 68, 68); 14 | /* Dark - darker */ 15 | background-color: rgb(58, 58, 58); 16 | 17 | /* Border color - light */ 18 | border-color: rgb(200, 200, 200); 19 | /* Border color - dark */ 20 | border-color: rgb(33, 33, 33); 21 | } 22 | 23 | .accent-color 24 | { 25 | border-color: rgb(58, 121, 187); 26 | } 27 | 28 | .empty-color 29 | { 30 | background-color: rgba(0, 0, 0, 0); 31 | border-color: rgba(0, 0, 0, 0); 32 | } 33 | 34 | .root 35 | { 36 | 37 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Dark.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d00412342a1b6c943b91cc06edad1202 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Light.uss: -------------------------------------------------------------------------------- 1 | .primary-colors 2 | { 3 | /* Light - lighter */ 4 | background-color: rgb(220, 220, 220); 5 | /* Light - middle */ 6 | background-color: rgb(200, 200, 200); 7 | /* Light - darker */ 8 | background-color: rgb(180, 180, 180); 9 | 10 | /* Dark - lighter */ 11 | background-color: rgb(50, 50, 50); 12 | /* Dark - middle */ 13 | background-color: rgb(28, 28, 28); 14 | /* Dark - darker */ 15 | background-color: rgb(0, 0, 0); 16 | 17 | /* Border color - light */ 18 | border-color: rgb(200, 200, 200); 19 | /* Border color - dark */ 20 | border-color: rgb(33, 33, 33); 21 | } 22 | 23 | .accent-color 24 | { 25 | border-color: rgb(58, 121, 187); 26 | } 27 | 28 | .empty-color 29 | { 30 | background-color: rgba(0, 0, 0, 0); 31 | border-color: rgba(0, 0, 0, 0); 32 | } 33 | 34 | .root 35 | { 36 | 37 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Light.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9e3b7e7e1851a140b1a5c23270ded34 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Main.uss: -------------------------------------------------------------------------------- 1 | #MainScrollView > * > .unity-scroll-view__content-container 2 | { 3 | flex-grow: 1; 4 | } 5 | 6 | #MainScrollView > * > .unity-scroll-view__content-viewport 7 | { 8 | flex-shrink: 1; 9 | } 10 | 11 | #MainScrollView > * > * > .unity-scroll-view__content-container 12 | { 13 | flex-grow: 1; 14 | flex-shrink: 1; 15 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Main.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0bebc765ff411f3428c6b3b23d5eb8e7 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Main.uxml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Base/BaseWindow_Main.uxml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc5a13143b609774da7101bb8313dd7a 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0} 11 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0a004d57c1a4db4a83df517f42de8a1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Dark.uss: -------------------------------------------------------------------------------- 1 | .asset-store-logo 2 | { 3 | background-image: url("../../Icons/publisher_portal_white.png"); 4 | } 5 | 6 | .or-label 7 | { 8 | color: rgb(200, 200, 200); 9 | } 10 | 11 | .login-error-box 12 | { 13 | background-color: rgb(63, 63, 63); 14 | } 15 | 16 | .manual-login-box 17 | { 18 | background-color: rgb(63, 63, 63); 19 | } 20 | 21 | .hyperlink-button 22 | { 23 | color: rgb(68, 113, 229); 24 | 25 | border-color: rgba(0, 0, 0, 0); 26 | 27 | background-color: rgba(0, 0, 0, 0); 28 | } 29 | 30 | .hyperlink-button:hover 31 | { 32 | color: rgb(68, 133, 229); 33 | } 34 | 35 | .hyperlink-button:active 36 | { 37 | color: rgb(68, 93, 229); 38 | } 39 | 40 | .login-error-box > Image 41 | { 42 | --unity-image: resource("console.erroricon@2x"); 43 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Dark.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13a732708670b6040ac77e49fceae9c5 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Light.uss: -------------------------------------------------------------------------------- 1 | .asset-store-logo 2 | { 3 | background-image: url("../../Icons/publisher_portal_black.png"); 4 | } 5 | 6 | .or-label 7 | { 8 | color: rgb(28, 28, 28); 9 | } 10 | 11 | .login-error-box 12 | { 13 | background-color: rgb(212, 212, 212); 14 | } 15 | 16 | .manual-login-box 17 | { 18 | background-color: rgb(212, 212, 212); 19 | } 20 | 21 | .hyperlink-button 22 | { 23 | color: rgb(68, 113, 229); 24 | 25 | border-color: rgba(0, 0, 0, 0); 26 | 27 | background-color: rgba(0, 0, 0, 0); 28 | } 29 | 30 | .hyperlink-button:hover 31 | { 32 | color: rgb(68, 133, 229); 33 | } 34 | 35 | .hyperlink-button:active 36 | { 37 | color: rgb(68, 93, 229); 38 | } 39 | 40 | .login-error-box > Image 41 | { 42 | --unity-image: resource("console.erroricon@2x"); 43 | } 44 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Light.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 526a426fa6626ce498c3bd03c67737e4 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Main.uss: -------------------------------------------------------------------------------- 1 | .popup-window-test 2 | { 3 | position: absolute; 4 | } 5 | 6 | .asset-store-logo 7 | { 8 | flex-shrink: 0; 9 | flex-grow: 1; 10 | 11 | align-self: center; 12 | 13 | height: 32px; 14 | width: 250px; 15 | 16 | margin: 40px 0; 17 | 18 | -unity-background-scale-mode: scale-to-fit; 19 | } 20 | 21 | .login-button-cloud 22 | { 23 | align-self: center; 24 | 25 | width: 300px; 26 | } 27 | 28 | .login-description 29 | { 30 | -unity-text-align: middle-center; 31 | white-space: normal; 32 | 33 | min-height: 24px; 34 | padding-right: 4px; 35 | } 36 | 37 | .or-label 38 | { 39 | align-self: center; 40 | 41 | -unity-text-align: middle-center; 42 | 43 | margin: 10px 0; 44 | } 45 | 46 | .manual-login-box 47 | { 48 | align-self: center; 49 | 50 | width: 300px; 51 | 52 | padding: 15px; 53 | } 54 | 55 | .input-box-login 56 | { 57 | align-self: center; 58 | 59 | width: 250px; 60 | 61 | margin: 5px 0; 62 | } 63 | 64 | .input-box-login > Label 65 | { 66 | -unity-text-align: upper-left; 67 | 68 | margin: 2px 0; 69 | } 70 | 71 | .input-box-login > TextField 72 | { 73 | height: 20px; 74 | margin: 0 1px; 75 | } 76 | 77 | .login-button-cred 78 | { 79 | align-self: center; 80 | 81 | width: 250px; 82 | margin: 10px 0 15px 0; 83 | } 84 | 85 | .login-error-box 86 | { 87 | flex-direction: row; 88 | flex-shrink: 0; 89 | 90 | align-self: center; 91 | 92 | min-width: 300px; 93 | max-width: 300px; 94 | 95 | margin: 5px 0 5px 1px; 96 | } 97 | 98 | .login-error-box > Image 99 | { 100 | flex-direction: row; 101 | 102 | width: 32px; 103 | height: 32px; 104 | 105 | margin: 5px 10px; 106 | } 107 | 108 | .login-error-box > Label 109 | { 110 | flex-grow: 1; 111 | flex-shrink: 1; 112 | 113 | -unity-text-align: middle-left; 114 | white-space: normal; 115 | 116 | margin-right: 5px; 117 | padding: 2px 0; 118 | } 119 | 120 | .helper-button-box 121 | { 122 | flex-direction: row; 123 | 124 | align-self: center; 125 | justify-content: space-between; 126 | 127 | width: 300px; 128 | margin: 5px 0; 129 | } 130 | 131 | .hyperlink-button 132 | { 133 | margin: 0; 134 | padding: 0; 135 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Login/Login_Main.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c6827adc58f1b146bde5b52679588d7 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fcc7023ae026264a9f05c37d0064aea 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/AllPackages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be1208fb3d0e8174a8075d0078069e72 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/AllPackages/AllPackages_Dark.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6320179b9eae0cc4cb6728a4392c4da5 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/AllPackages/AllPackages_Light.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e1bb62d57954d94690fac6155f453ab 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/AllPackages/AllPackages_Main.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 703ea091ed1e85049b6c0e6b94f4aba3 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Dark.uss: -------------------------------------------------------------------------------- 1 | .bottom-tools-row 2 | { 3 | border-top-width: 1px; 4 | border-color: rgb(33, 33, 33); 5 | 6 | background-color: rgb(68, 68, 68); 7 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Dark.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42629fa0950d47d4fb25ead7ae74591f 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Light.uss: -------------------------------------------------------------------------------- 1 | .bottom-tools-row 2 | { 3 | border-top-width: 1px; 4 | border-color: rgb(33, 33, 33); 5 | 6 | background-color: rgb(200, 200, 200); 7 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Light.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7a6eb19ec987844280ce30ca2135cca 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Main.uss: -------------------------------------------------------------------------------- 1 | #UploadWindow 2 | { 3 | flex-grow: 1; 4 | overflow: hidden; 5 | } 6 | 7 | .bottom-tools-row 8 | { 9 | flex-direction: row; 10 | flex-shrink: 0; 11 | 12 | justify-content: space-between; 13 | margin: 0; 14 | } 15 | 16 | .toolbar-left-side-container 17 | { 18 | align-self: center; 19 | flex-direction: row; 20 | margin: 3px 0 3px 5px; 21 | } 22 | 23 | .toolbar-right-side-container 24 | { 25 | align-self: center; 26 | flex-direction: row; 27 | flex-shrink: 0; 28 | margin: 0; 29 | } 30 | 31 | .refresh-button, .logout-button, .ongoing-uploads-button, .all-packages-button 32 | { 33 | min-width: 50px; 34 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreUploader/Styles/Upload/UploadWindow_Main.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd40f16a3ddafd6438ecc0f5c2017593 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 980c7bb65c02d464684c2220c57fcd75 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/AssetStoreValidation.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor; 3 | using UnityEditor.UIElements; 4 | using UnityEngine; 5 | using UnityEngine.UIElements; 6 | 7 | namespace AssetStoreTools.Validator 8 | { 9 | internal class AssetStoreValidation : AssetStoreToolsWindow 10 | { 11 | protected override string WindowTitle => "Asset Store Validator"; 12 | 13 | private const string StylesPath = "Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Styles"; 14 | private const string MainStylesName = "AssetStoreValidator_Main"; 15 | private const string DarkStylesName = "AssetStoreValidator_Dark"; 16 | private const string LightStylesName = "AssetStoreValidator_Light"; 17 | 18 | public static Action OnWindowDestroyed; 19 | 20 | private AutomatedTestsGroup _automatedTestsGroup; 21 | 22 | protected override void Init() 23 | { 24 | minSize = new Vector2(350, 350); 25 | 26 | base.Init(); 27 | this.SetAntiAliasing(4); 28 | 29 | VisualElement root = rootVisualElement; 30 | 31 | root.AddToClassList("root"); 32 | 33 | // Clean it out, in case the window gets initialized again 34 | root.Clear(); 35 | 36 | // Getting a reference to the USS Document and adding stylesheet to the root 37 | var styleSheet = AssetDatabase.LoadAssetAtPath($"{StylesPath}/{MainStylesName}.uss"); 38 | root.styleSheets.Add(styleSheet); 39 | 40 | var toolSkinName = LightStylesName; 41 | if (EditorGUIUtility.isProSkin) 42 | toolSkinName = DarkStylesName; 43 | 44 | var coloredStyleSheet = AssetDatabase.LoadAssetAtPath($"{StylesPath}/{toolSkinName}.uss"); 45 | root.styleSheets.Add(coloredStyleSheet); 46 | 47 | ConstructWindow(); 48 | } 49 | 50 | private void ConstructWindow() 51 | { 52 | _automatedTestsGroup = new AutomatedTestsGroup(); 53 | rootVisualElement.Add(_automatedTestsGroup); 54 | } 55 | 56 | private void OnDestroy() 57 | { 58 | OnWindowDestroyed?.Invoke(); 59 | } 60 | } 61 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/AssetStoreValidation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fdc092edc6b5b049bdf5c59068cd3bf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8490c57c02b441e4dab99565da835c99 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/error.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/error_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/error_d.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/success.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/success_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/success_d.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/undefined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/undefined.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/undefined_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/undefined_d.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/warning.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/warning_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CrazyGamesCom/unity-optimizations-package/3e6428dd5c157983e38233ebe189a1b6e3d5d6cd/Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Icons/warning_d.png -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b5ff7c95381e82438f6c9dc40069031 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Categories.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a971a9a200a4438945853d71066f16a 3 | timeCreated: 1657617558 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Categories/CategoryEvaluator.cs: -------------------------------------------------------------------------------- 1 | namespace AssetStoreTools.Validator 2 | { 3 | internal class CategoryEvaluator 4 | { 5 | private string _category; 6 | 7 | public CategoryEvaluator(string category) 8 | { 9 | _category = category; 10 | } 11 | 12 | public void SetCategory(string category) 13 | { 14 | _category = category; 15 | } 16 | 17 | public string GetCategory() 18 | { 19 | return _category; 20 | } 21 | 22 | public TestResult.ResultStatus Evaluate(ValidationTest validation, bool slugify = false) 23 | { 24 | var result = validation.Result.Result; 25 | if (result != TestResult.ResultStatus.Fail && result != TestResult.ResultStatus.Warning) 26 | return result; 27 | 28 | var category = _category; 29 | 30 | if (slugify) 31 | category = validation.Slugify(category); 32 | 33 | // Error category check 34 | if (validation.ErrorCategory.AppliesToCategory(category)) 35 | return TestResult.ResultStatus.Fail; 36 | 37 | // Warning category check 38 | if (validation.WarningCategory.AppliesToCategory(category)) 39 | return TestResult.ResultStatus.Warning; 40 | 41 | // Did not apply to any category, return the original result 42 | return result; 43 | } 44 | 45 | // Used by ab-builder 46 | public TestResult.ResultStatus EvaluateAndSlugify(ValidationTest validation) 47 | { 48 | return Evaluate(validation, true); 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Categories/CategoryEvaluator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb61fd62b94248e4b5a3a07665b1a2bf 3 | timeCreated: 1661420659 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Categories/ValidatorCategory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using UnityEngine; 4 | 5 | namespace AssetStoreTools.Validator 6 | { 7 | [System.Serializable] 8 | internal class ValidatorCategory 9 | { 10 | public bool AppliesToAll => Filter.Length == 0 && !FilterIsInclusive; 11 | public string[] Filter = { "Tools", "Art" }; 12 | [Tooltip("Tip: When disabled and filter is empty, this category will apply to all")] 13 | public bool FilterIsInclusive = true; 14 | public bool AppliesToSubCategories = true; 15 | 16 | public bool AppliesToCategory(string category) 17 | { 18 | if (AppliesToAll) 19 | return true; 20 | 21 | if(AppliesToSubCategories) 22 | category = category.Split('/')[0]; 23 | 24 | var applies = FilterIsInclusive; 25 | if(Filter.All(x => String.Compare(x, category, StringComparison.OrdinalIgnoreCase) != 0)) 26 | applies = !applies; 27 | return applies; 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Categories/ValidatorCategory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5e60d3639f24063a4eabc21ea1a04a9 3 | timeCreated: 1657617578 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Data.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c2a38ded8e054c4088aff1db7224f66 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Data/MessageActions.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace AssetStoreTools.Validator 5 | { 6 | internal interface IMessageAction 7 | { 8 | string ActionTooltip { get; } 9 | 10 | void Execute(); 11 | } 12 | 13 | internal enum ClickActionType 14 | { 15 | None = 0, 16 | HighlightObject = 1, 17 | OpenAsset = 2 18 | } 19 | 20 | internal class MessageActionHighlight : IMessageAction 21 | { 22 | private Object _objectToHighlight; 23 | 24 | public GlobalObjectId GlobalObjectIdentifier { get; set; } 25 | public string ActionTooltip => "Click to highlight the associated object in Hierarchy/Project view"; 26 | 27 | public MessageActionHighlight(Object objectToHighlight) 28 | { 29 | this._objectToHighlight = objectToHighlight; 30 | GlobalObjectIdentifier = GlobalObjectId.GetGlobalObjectIdSlow(objectToHighlight); 31 | } 32 | 33 | public MessageActionHighlight(string globalObjectId) 34 | { 35 | GlobalObjectId.TryParse(globalObjectId, out GlobalObjectId globalObjectIdentifier); 36 | GlobalObjectIdentifier = globalObjectIdentifier; 37 | } 38 | 39 | public void Execute() 40 | { 41 | if(_objectToHighlight == null) 42 | _objectToHighlight = GlobalObjectId.GlobalObjectIdentifierToObjectSlow(GlobalObjectIdentifier); 43 | 44 | EditorGUIUtility.PingObject(_objectToHighlight); 45 | } 46 | } 47 | 48 | internal class MessageActionOpenAsset : IMessageAction 49 | { 50 | private Object _objectToOpen; 51 | public int LineNumber { get; set; } 52 | 53 | public GlobalObjectId GlobalObjectIdentifier { get; set; } 54 | public string ActionTooltip => "Click to open the associated asset"; 55 | 56 | public MessageActionOpenAsset(Object objectToOpen) 57 | { 58 | this._objectToOpen = objectToOpen; 59 | GlobalObjectIdentifier = GlobalObjectId.GetGlobalObjectIdSlow(objectToOpen); 60 | } 61 | 62 | public MessageActionOpenAsset(string globalObjectId) 63 | { 64 | GlobalObjectId.TryParse(globalObjectId, out GlobalObjectId globalObjectIdentifier); 65 | GlobalObjectIdentifier = globalObjectIdentifier; 66 | } 67 | 68 | public void Execute() 69 | { 70 | if (_objectToOpen == null) 71 | _objectToOpen = GlobalObjectId.GlobalObjectIdentifierToObjectSlow(GlobalObjectIdentifier); 72 | AssetDatabase.OpenAsset(_objectToOpen, LineNumber); 73 | } 74 | } 75 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Data/MessageActions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6c8b1f23bf5c8841be44b13374e7baf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Data/TestResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05d7d92bbda6bf44f8ed5fbd0cde57e6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Data/ValidationState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbd993a57160414b93583792dbe5241e 3 | timeCreated: 1653399871 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4894c65df774be09fe141802af4d148 3 | timeCreated: 1653312866 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/AutomatedTestElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8c0565120aa4395affe7e33e1482022 3 | timeCreated: 1653312885 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/AutomatedTestsGroup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c2c433eb91b4ca3b7113d88ba3cfb96 3 | timeCreated: 1653382235 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/AutomatedTestsGroupElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e148fdea53b04663934cd1780333a046 3 | timeCreated: 1654257538 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/PathBoxElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f856d841ca50d7842b2850015d8b1f62 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/ValidationInfoElement.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UIElements; 3 | 4 | namespace AssetStoreTools.Validator 5 | { 6 | internal class ValidationInfoElement : VisualElement 7 | { 8 | private const string GuidelinesUrl = "https://assetstore.unity.com/publishing/submission-guidelines#Overview"; 9 | private const string SupportUrl = "https://support.unity.com/hc/en-us/requests/new?ticket_form_id=65905"; 10 | 11 | public ValidationInfoElement() 12 | { 13 | ConstructInformationElement(); 14 | } 15 | 16 | private void ConstructInformationElement() 17 | { 18 | AddToClassList("validation-info-box"); 19 | 20 | var validatorDescription = new Label 21 | { 22 | text = "Validate your package to ensure your content follows the chosen submission guidelines. " + 23 | "The validations below do not cover all of the content standards, and passing all validations does not " + 24 | "guarantee that your package will be accepted to the Asset Store.\n\n" + 25 | "The tests are not obligatory for submitting your assets, but they can help avoid instant rejection by the " + 26 | "automated vetting system, or clarify reasons of rejection communicated by the vetting team.\n\n" + 27 | "For more information about the validations, view the message by expanding the tests or contact our support team." 28 | }; 29 | validatorDescription.AddToClassList("validator-description"); 30 | 31 | var submissionGuidelinesButton = new Button(() => OpenURL(GuidelinesUrl)) 32 | { 33 | name = "GuidelinesButton", 34 | text = "Submission guidelines" 35 | }; 36 | 37 | submissionGuidelinesButton.AddToClassList("hyperlink-button"); 38 | 39 | var supportTicketButton = new Button(() => OpenURL(SupportUrl)) 40 | { 41 | name = "SupportTicket", 42 | text = "Contact our support team" 43 | }; 44 | 45 | supportTicketButton.AddToClassList("hyperlink-button"); 46 | 47 | Add(validatorDescription); 48 | Add(submissionGuidelinesButton); 49 | Add(supportTicketButton); 50 | } 51 | 52 | private void OpenURL(string url) 53 | { 54 | Application.OpenURL(url); 55 | } 56 | 57 | } 58 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Elements/ValidationInfoElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9866d77420d947ba852055eed2bac895 3 | timeCreated: 1653383883 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 462cf5f916fad974a831f6a44aadcc82 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/AutomatedTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace AssetStoreTools.Validator 5 | { 6 | internal class AutomatedTest : ValidationTest 7 | { 8 | public AutomatedTest(ValidationTestScriptableObject source) : base(source) { } 9 | 10 | public override void Run() 11 | { 12 | var actionsObject = TestActions.Instance; 13 | var method = actionsObject.GetType().GetMethod(TestMethodName); 14 | if (method != null) 15 | { 16 | try 17 | { 18 | Result = (TestResult)method.Invoke(actionsObject, null); 19 | } 20 | catch (Exception e) 21 | { 22 | var result = new TestResult() { Result = TestResult.ResultStatus.Fail }; 23 | result.AddMessage("An exception was caught when running this test case. See Console for more details"); 24 | Debug.LogError($"An exception was caught when running validation for test case '{Title}'\n{e.InnerException}"); 25 | Result = result; 26 | } 27 | finally 28 | { 29 | OnTestCompleted(); 30 | } 31 | } 32 | else 33 | { 34 | Debug.LogError("Cannot invoke method \"" + TestMethodName + "\". No such method found"); 35 | } 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/AutomatedTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b284048af6fef0d49b8c3a37f7083d04 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d62652f91f698904ea662c6ab252ea59 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/AutomatedTestScriptableObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace AssetStoreTools.Validator 4 | { 5 | //[CreateAssetMenu(fileName = "AutomatedTest", menuName = "ScriptableObjects/Automated Test Data")] 6 | internal class AutomatedTestScriptableObject : ValidationTestScriptableObject { } 7 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/AutomatedTestScriptableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d813ff809ae82f643bf975031305d541 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cd52466a2239344d90c3043b7afc1e4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/Editor/ValidationTestScriptableObjectInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06d76b0e6df91eb43ac956f883c4a2da 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/ValidationTestScriptableObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace AssetStoreTools.Validator 4 | { 5 | internal class ValidationTestScriptableObject : ScriptableObject 6 | { 7 | [SerializeField, HideInInspector] 8 | private bool HasBeenInitialized; 9 | 10 | public int Id; 11 | public string Title; 12 | public string Description; 13 | public string TestMethodName; 14 | 15 | public ValidatorCategory ErrorCategory; 16 | public ValidatorCategory WarningCategory; 17 | 18 | private void OnEnable() 19 | { 20 | // To do: maybe replace with Custom Inspector 21 | if (HasBeenInitialized) 22 | return; 23 | 24 | var existingTestCases = ValidatorUtility.GetAutomatedTestCases("Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/", true); 25 | if (existingTestCases.Length > 0) 26 | Id = existingTestCases[existingTestCases.Length - 1].Id + 1; 27 | else 28 | Id = 1; 29 | HasBeenInitialized = true; 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ScriptableObjects/ValidationTestScriptableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11c2422f057b75a458e184d169a00eb6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ValidationTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading.Tasks; 3 | 4 | namespace AssetStoreTools.Validator 5 | { 6 | internal abstract class ValidationTest 7 | { 8 | public int Id; 9 | public string Title; 10 | public string Description; 11 | public string TestMethodName; 12 | 13 | public ValidatorCategory ErrorCategory; 14 | public ValidatorCategory WarningCategory; 15 | 16 | public TestResult Result; 17 | 18 | public event Action OnTestComplete; 19 | 20 | protected ValidationTest(ValidationTestScriptableObject source) 21 | { 22 | Id = source.Id; 23 | Title = source.Title; 24 | Description = source.Description; 25 | TestMethodName = source.TestMethodName; 26 | ErrorCategory = source.ErrorCategory; 27 | WarningCategory = source.WarningCategory; 28 | Result = new TestResult(); 29 | } 30 | 31 | public abstract void Run(); 32 | 33 | protected void OnTestCompleted() 34 | { 35 | OnTestComplete?.Invoke(Id, Result); 36 | } 37 | 38 | public bool IsApplicableToAnySeverity(string category) 39 | { 40 | bool appliesToError = ErrorCategory.AppliesToCategory(category); 41 | bool appliesToWarning = WarningCategory.AppliesToCategory(category); 42 | return appliesToError || appliesToWarning; 43 | } 44 | 45 | public bool IsApplicableToAnySeveritySlugified(string category) 46 | { 47 | bool appliesToError = ErrorCategory.AppliesToCategory(Slugify(category)); 48 | bool appliesToWarning = WarningCategory.AppliesToCategory(Slugify(category)); 49 | return appliesToError || appliesToWarning; 50 | } 51 | 52 | public string Slugify(string value) 53 | { 54 | string newValue = value.Replace(' ', '-').ToLower(); 55 | return newValue; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Test Definitions/ValidationTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 095d629656748914bb6202598876fdf4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/TestActions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13c919650b39402488cbba21460fba3e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Utility.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bc3a78a4b494e44b75268ad1444ab81 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Utility/NamespaceUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d67de02aca44cea49a4c86d13a756104 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Scripts/Utility/ValidatorUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24792af98b4d87746a4b945e2a45dc2d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Styles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21f473cb130d5f0458b2823b3a67f789 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Styles/AssetStoreValidator_Dark.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6072b9c171efabd4b9df404b6a14bced 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Styles/AssetStoreValidator_Light.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3aabcb23e4d233d4cb06467692556b1c 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Styles/AssetStoreValidator_Main.uss.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd5d36e7e8fb8014fa998bc5cb2816f4 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0} 11 | disableValidation: 0 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82d68ee644bbbb44183019f731e9f205 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/01_IncludeDemo.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 01_IncludeDemo 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 1 17 | Title: Demo scene inclusion 18 | Description: If your product has content to show off, it should be displayed in 19 | a demo scene. Please provide a practical demo with all of your assets set up. 20 | If your asset is based on scripting or Editor extensions, please consider adding 21 | a demo scene showcasing the asset or showing setup steps in the scene. 22 | TestMethodName: _1_IncludeDemoScene 23 | ErrorCategory: 24 | Filter: 25 | - 3D 26 | - 2D 27 | - VFX 28 | - Animation 29 | - Essentials 30 | - Templates 31 | FilterIsInclusive: 1 32 | AppliesToSubCategories: 1 33 | WarningCategory: 34 | Filter: [] 35 | FilterIsInclusive: 0 36 | AppliesToSubCategories: 1 37 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/01_IncludeDemo.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f108107be07f69045813d69eff580078 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/02_MeshesHavePrefabsAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 02_MeshesHavePrefabsAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 2 17 | Title: Prefabs for meshes 18 | Description: Each mesh should have a corresponding prefab set up with all variations 19 | of the texture/mesh/material that you are providing. Please create prefabs for 20 | all of your imported objects. 21 | TestMethodName: _2_MeshesHavePrefabs 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 1 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 0 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/02_MeshesHavePrefabsAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03b362b67028eb443b7ba8b84aedd5f2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/03_ResetPrefabs.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 03_ResetPrefabs 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 3 17 | Title: Reset Prefabs 18 | Description: Prefabs must have their position/rotation set to 0, and their scale 19 | set to 1. 20 | TestMethodName: _3_ResetPrefabs 21 | ErrorCategory: 22 | Filter: 23 | - 3D 24 | - Essentials 25 | - Templates 26 | FilterIsInclusive: 1 27 | AppliesToSubCategories: 1 28 | WarningCategory: 29 | Filter: [] 30 | FilterIsInclusive: 0 31 | AppliesToSubCategories: 1 32 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/03_ResetPrefabs.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 700026f446833f649a3c63b33a90a295 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/04_IncludeColliders.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 04_IncludeColliders 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 4 17 | Title: Colliders for Prefabs with meshes 18 | Description: Prefabs with meshes inside them have to have colliders applied to 19 | them, if the Prefabs are marked as Static. Please make sure you have appropriately 20 | sized colliders applied to your prefabs. 21 | TestMethodName: _4_IncludeColliders 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 1 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 0 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/04_IncludeColliders.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28ab5af444cf3c849800ed0d8f4a3102 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/05_EmptyPrefab.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 05_EmptyPrefab 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 5 17 | Title: Empty Prefabs 18 | Description: Prefabs cannot be empty, please make sure that you set up your prefabs 19 | correctly. 20 | TestMethodName: _5_EmptyPrefab 21 | ErrorCategory: 22 | Filter: 23 | - 3D 24 | - 2D 25 | - VFX 26 | - Animation 27 | - Essentials 28 | - Templates 29 | FilterIsInclusive: 1 30 | AppliesToSubCategories: 1 31 | WarningCategory: 32 | Filter: [] 33 | FilterIsInclusive: 0 34 | AppliesToSubCategories: 1 35 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/05_EmptyPrefab.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08790ea0ed0fd274fb1df75ccc32d415 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/06_IncludeDocumentation.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 06_IncludeDocumentation 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 6 17 | Title: Documentation inclusion 18 | Description: If your asset contains any code (scripts, shaders) - we ask that you 19 | include offline documentation in the format of pdf or rtf with your submission, 20 | as it is mandatory for all packages that include scripts or other components 21 | that require set up. Your documentation must be organized with a table of contents 22 | and numbered, written in English and have no grammar mistakes. Create a setup 23 | guide with a step-by-step tutorial (pdf or video), as well as a script reference 24 | if users will need to do any coding. If your asset contains art (3D models, sprites) 25 | and you used code to set up a demo scene, you may skip this step. 26 | TestMethodName: _6_IncludeDocumentation 27 | ErrorCategory: 28 | Filter: [] 29 | FilterIsInclusive: 1 30 | AppliesToSubCategories: 1 31 | WarningCategory: 32 | Filter: [] 33 | FilterIsInclusive: 0 34 | AppliesToSubCategories: 1 35 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/06_IncludeDocumentation.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b03433f7977b29e4ca7e8d76393a6c26 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/07_FixOrientation.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 07_FixOrientation 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 7 17 | Title: Mesh orientation 18 | Description: 'Meshes should be facing the correct way. The proper facing is: Z 19 | vector is forward, Y vector is up, X vector is right.' 20 | TestMethodName: _7_FixOrientation 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 1 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/07_FixOrientation.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45b2b11da67e8864aacc62d928524b4c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/08_RemoveJPG.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 08_RemoveJPG 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 8 17 | Title: JPG/JPEG images 18 | Description: We do not allow texture images that are saved in lossy formats. Please 19 | save all of your images as lossless format file types, such as PNG, TGA, or PSD. 20 | TestMethodName: _8_RemoveJpgFiles 21 | ErrorCategory: 22 | Filter: 23 | - 3D 24 | - 2D 25 | - VFX 26 | - Animation 27 | - Essentials 28 | - Templates 29 | FilterIsInclusive: 1 30 | AppliesToSubCategories: 1 31 | WarningCategory: 32 | Filter: [] 33 | FilterIsInclusive: 0 34 | AppliesToSubCategories: 1 35 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/08_RemoveJPG.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 781021ae3aa6570468e08d78e3195127 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/09_AssetMissingComponentAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 09_AssetMissingComponentAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 9 17 | Title: Missing components in assets 18 | Description: We do not allow missing or broken material/texture/prefab/script connections 19 | in your package. Please make sure none of your assets have missing components. 20 | TestMethodName: _9_MissingComponentsInAssets 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 1 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/09_AssetMissingComponentAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a3d0b3827fc16347867bee335e8f4ea 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/10_MissingComponentAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 10_MissingComponentAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 10 17 | Title: Missing components in scenes 18 | Description: GameObjects in your scene have been found to have missing components. 19 | We do not allow GameObjects to have broken connections. 20 | TestMethodName: _10_MissingComponentTest 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 1 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/10_MissingComponentAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc2cb4e6635aa334ea4a52e2e3ce57c8 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/11_RemoveJavaScriptAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 11_RemoveJavaScriptAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 11 17 | Title: UnityScript / JavaScript file inclusion 18 | Description: JavaScript / UnityScript files are not allowed, as they are no longer 19 | supported. 20 | TestMethodName: _11_RemoveJavaScript 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 0 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/11_RemoveJavaScriptAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf01c18b66907f54c99517f6a877e3e0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/12_RemoveLossyAudioAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 12_RemoveLossyAudioAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 12 17 | Title: Lossy audio file inclusion 18 | Description: 'We do not recommend audio files that are saved as .mp3 or .ogg. Please 19 | save all of your audio as lossless format file types, such as .wav. If you have 20 | non-lossy alternative files to your lossy audio files, please make sure to name 21 | them identically to avoid rejection. For example: ''shout.mp3'', ''shout.wav''. 22 | Listing of the format in the file name is also allowed and accounted for by the 23 | validator. For example: ''taunt MP3.mp3'', ''taunt WAV.wav''.' 24 | TestMethodName: _12_RemoveLossyAudioFiles 25 | ErrorCategory: 26 | Filter: 27 | - Audio 28 | - Templates 29 | - Essentials 30 | FilterIsInclusive: 1 31 | AppliesToSubCategories: 1 32 | WarningCategory: 33 | Filter: [] 34 | FilterIsInclusive: 0 35 | AppliesToSubCategories: 1 36 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/12_RemoveLossyAudioAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a48657926de5cfb47ac559a7108d03ee 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/13_RemoveVideosAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 13_RemoveVideosAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 13 17 | Title: Video file inclusion 18 | Description: You cannot include a video file in your package. Please upload your 19 | video file to an online video hosting website (Youtube, Vimeo, etc.) and include 20 | the link to the video in your written documentation. 21 | TestMethodName: _13_RemoveVideoFiles 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 1 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 0 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/13_RemoveVideosAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 893a0df188c2026438be48eed39b301f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/14_RemoveExecutablesAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 14_RemoveExecutablesAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 14 17 | Title: Executable file inclusion 18 | Description: Your package must not contain an .exe, installer programs or applications. 19 | If your plugin requires an external program to run, please remove the installer 20 | program from your package and write the instructions on how to download and install 21 | the installer program in your documentation. 22 | TestMethodName: _14_RemoveExecutableFiles 23 | ErrorCategory: 24 | Filter: [] 25 | FilterIsInclusive: 0 26 | AppliesToSubCategories: 1 27 | WarningCategory: 28 | Filter: [] 29 | FilterIsInclusive: 0 30 | AppliesToSubCategories: 1 31 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/14_RemoveExecutablesAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e996c53186de96e49a742d414648a809 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/15_RemoveMixamoAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 15_RemoveMixamoAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 15 17 | Title: Mixamo file inclusion 18 | Description: We do not allow or accept packages files that were made with third-party 19 | software, such as Mixamo, Fuse, etc. because these files are under licensing 20 | that does not agree with the Asset Store End User License Agreement (EULA). 21 | TestMethodName: _15_RemoveMixamoFiles 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 0 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 1 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/15_RemoveMixamoAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0a44055f786ec64f86a07a214d5f831 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/16_RemoveSpeedTreeAutomatedTest.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 16_RemoveSpeedTreeAutomatedTest 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 16 17 | Title: SpeedTree asset inclusion 18 | Description: You cannot redistribute SpeedTree files on other marketplaces. Please 19 | remove all SpeedTree files that are in this package. 20 | TestMethodName: _16_RemoveSpeedTreeFiles 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 0 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/16_RemoveSpeedTreeAutomatedTest.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 305bbe67f7c644d18bc8a5b2273aa6a4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/17_CheckLODs.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 17_CheckLODs 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 17 17 | Title: LOD setup 18 | Description: 'Prefabs containing meshes with ''LOD'' in their name must meet the 19 | following requirements: 20 | 21 | - LOD Mesh must be referenced by an LOD Group Component 22 | 23 | - 24 | LOD Mesh GameObject must be a child of an LOD Group Component' 25 | TestMethodName: _17_CheckLODsonyourPrefabs 26 | ErrorCategory: 27 | Filter: 28 | - 3D 29 | - Essentials 30 | - Templates 31 | FilterIsInclusive: 1 32 | AppliesToSubCategories: 1 33 | WarningCategory: 34 | Filter: [] 35 | FilterIsInclusive: 0 36 | AppliesToSubCategories: 1 37 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/17_CheckLODs.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad52ffa05767e9d4bb4d92093ad68b03 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/18_ShaderCompilerErrors.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 18_ShaderCompilerErrors 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 18 17 | Title: Shader compilation errors 18 | Description: An error was found within one or more of your shaders. Please make 19 | sure the shaders inside your package do not have errors and compile successfully. 20 | TestMethodName: _18_ShaderCompilerErrors 21 | ErrorCategory: 22 | Filter: [] 23 | FilterIsInclusive: 1 24 | AppliesToSubCategories: 1 25 | WarningCategory: 26 | Filter: [] 27 | FilterIsInclusive: 0 28 | AppliesToSubCategories: 1 29 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/18_ShaderCompilerErrors.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1450037453608204a989ff95dca62fae 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/19_TypesHaveNamespaces.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 19_TypesHaveNamespaces 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 19 17 | Title: Types have namespaces 18 | Description: Types in your scripts (classes, interfaces, structs, enums) should 19 | be nested under a namespace block to prevent them from being mistaken for other 20 | potential types and for better organization as a whole 21 | TestMethodName: _19_TypesHaveNamespaces 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 1 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 0 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/19_TypesHaveNamespaces.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd110ee16e8de4d48a602349ed7a0b25 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/20_ConsistentLineEndings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: d813ff809ae82f643bf975031305d541, type: 3} 13 | m_Name: 20_ConsistentLineEndings 14 | m_EditorClassIdentifier: 15 | HasBeenInitialized: 1 16 | Id: 20 17 | Title: Consistent line endings 18 | Description: Inconsistent line endings in scripts might lead to incorrect line 19 | numbers in stacktraces and compiler errors. Many text editors can fix this using 20 | Convert Line Endings menu commands. 21 | TestMethodName: _20_ConsistentLineEndings 22 | ErrorCategory: 23 | Filter: [] 24 | FilterIsInclusive: 1 25 | AppliesToSubCategories: 1 26 | WarningCategory: 27 | Filter: [] 28 | FilterIsInclusive: 0 29 | AppliesToSubCategories: 1 30 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/AssetStoreValidator/Tests/20_ConsistentLineEndings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e7b5480c1d8bda43ab4fa945939e243 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Unity.AssetStoreTools.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "asset-store-tools-editor", 3 | "references": [], 4 | "includePlatforms": [ 5 | "Editor" 6 | ], 7 | "excludePlatforms": [], 8 | "allowUnsafeCode": false, 9 | "overrideReferences": false, 10 | "precompiledReferences": [], 11 | "autoReferenced": true, 12 | "defineConstraints": [], 13 | "versionDefines": [], 14 | "noEngineReferences": false 15 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Unity.AssetStoreTools.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c183be512f4485d40a3437fabd6c81cf 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3dfd03e520c145b45a32c7e2915fe3cb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/ASToolsPreferences.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b75179c8d22a35b42a543d6fa7857ce0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/Json.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 1 2 | guid: 0a7878c3076bf174ea5c0a1cf7bd3a39 3 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/LegacyToolsRemover.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46ead42026b1f0b4e94153e1a7e10d12 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/PackageUtility.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_2019 || UNITY_2020 2 | using System; 3 | using System.Reflection; 4 | #endif 5 | using UnityEngine; 6 | using UnityEditor.PackageManager; 7 | using System.Linq; 8 | 9 | namespace AssetStoreTools.Utility 10 | { 11 | internal static class PackageUtility 12 | { 13 | /// 14 | /// Returns the package path on disk. If the path is within the root 15 | /// project folder, the returned path will be relative to the root project folder. 16 | /// Otherwise, an absolute path is returned 17 | /// 18 | public static string GetConvenientPath(this PackageInfo packageInfo) 19 | { 20 | var path = packageInfo.resolvedPath.Replace("\\", "/"); 21 | 22 | var rootProjectPath = Application.dataPath.Substring(0, Application.dataPath.Length - "Assets".Length); 23 | if (path.StartsWith(rootProjectPath)) 24 | path = path.Substring(rootProjectPath.Length); 25 | 26 | return path; 27 | } 28 | 29 | public static PackageInfo[] GetAllPackages() 30 | { 31 | #if UNITY_2019 || UNITY_2020 32 | var method = typeof(PackageInfo).GetMethod("GetAll", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static, null, new Type[0], null); 33 | var packages = method?.Invoke(null, null) as PackageInfo[]; 34 | #else 35 | var packages = PackageInfo.GetAllRegisteredPackages(); 36 | #endif 37 | return packages; 38 | } 39 | 40 | public static PackageInfo[] GetAllLocalPackages() 41 | { 42 | var packages = GetAllPackages(); 43 | var localPackages = packages.Where(x => x.source == PackageSource.Embedded || x.source == PackageSource.Local) 44 | .Where(x => x.isDirectDependency).ToArray(); 45 | return localPackages; 46 | } 47 | 48 | public static PackageInfo[] GetAllRegistryPackages() 49 | { 50 | var packages = GetAllPackages(); 51 | var registryPackages = packages.Where(x => x.source == PackageSource.Registry || x.source == PackageSource.BuiltIn) 52 | .Where(x => x.isDirectDependency).ToArray(); 53 | return registryPackages; 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/PackageUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 605ea62f8b11d674a95a53f895df4c67 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/SymlinkUtil.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | 3 | namespace AssetStoreTools.Utility 4 | { 5 | internal static class SymlinkUtil 6 | { 7 | private const FileAttributes FolderSymlinkAttributes = FileAttributes.Directory | FileAttributes.ReparsePoint; 8 | 9 | public static bool FindSymlinkFolderRelative(string folderPathAbsolute, out string relativePath) 10 | { 11 | // Get directory info for path outside of the project 12 | var absoluteInfo = new DirectoryInfo(folderPathAbsolute); 13 | 14 | // Get all directories within the project 15 | var allFolderPaths = Directory.GetDirectories("Assets", "*", SearchOption.AllDirectories); 16 | foreach (var path in allFolderPaths) 17 | { 18 | var fullPath = path.Replace("\\", "/"); 19 | 20 | // Get directory info for one of the paths within the project 21 | var relativeInfo = new DirectoryInfo(fullPath); 22 | 23 | // Check if project's directory is a symlink 24 | if (!relativeInfo.Attributes.HasFlag(FolderSymlinkAttributes)) 25 | continue; 26 | 27 | // Compare metadata of outside directory with a directories within the project 28 | if (!CompareDirectories(absoluteInfo, relativeInfo)) 29 | continue; 30 | 31 | // Found symlink within the project, assign it 32 | relativePath = fullPath; 33 | return true; 34 | } 35 | 36 | relativePath = string.Empty; 37 | return false; 38 | } 39 | 40 | private static bool CompareDirectories(DirectoryInfo directory, DirectoryInfo directory2) 41 | { 42 | var contents = directory.EnumerateFileSystemInfos("*", SearchOption.AllDirectories).GetEnumerator(); 43 | var contents2 = directory2.EnumerateFileSystemInfos("*", SearchOption.AllDirectories).GetEnumerator(); 44 | 45 | while (true) 46 | { 47 | var firstNext = contents.MoveNext(); 48 | var secondNext = contents2.MoveNext(); 49 | 50 | if (firstNext != secondNext) 51 | return false; 52 | 53 | if (!firstNext && !secondNext) 54 | break; 55 | 56 | var equals = contents.Current?.Name == contents2.Current?.Name 57 | && contents.Current?.LastWriteTime == contents2.Current?.LastWriteTime; 58 | 59 | if (!equals) 60 | return false; 61 | } 62 | 63 | return true; 64 | } 65 | 66 | } 67 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/Editor/Utility/SymlinkUtil.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92092535fd064bb1843017f98db213e1 3 | timeCreated: 1659013521 -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/LICENSE.md: -------------------------------------------------------------------------------- 1 | Asset Store Tools v2 copyright © 2023 Unity Technologies 2 | 3 | Source code of the package is licensed under the Unity Companion License (see https://unity3d.com/legal/licenses/unity_companion_license); otherwise licensed under the Unity Package Distribution License (see https://unity3d.com/legal/licenses/Unity_Package_Distribution_License ) 4 | 5 | Unless expressly provided otherwise, the software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions. -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/LICENSE.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baeaa62ad0dc664428d6069db8fd986d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.unity.asset-store-tools", 3 | "displayName": "Asset Store Tools", 4 | "version": "11.2.2", 5 | "unity": "2019.4", 6 | "description": "Whether you're a programmer, game designer, texture artist or 3D modeler, you're welcome to share your creations with everybody in the Unity developer community!", 7 | "type": "tool" 8 | } -------------------------------------------------------------------------------- /Packages/com.unity.asset-store-tools/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fca7c22c787fbfd4cb0d7f186668631a 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ide.rider": "3.0.22", 4 | "com.unity.ide.visualstudio": "2.0.18", 5 | "com.unity.ide.vscode": "1.2.5", 6 | "com.unity.test-framework": "1.1.33", 7 | "com.unity.textmeshpro": "2.1.6", 8 | "com.unity.timeline": "1.8.2", 9 | "com.unity.ugui": "1.0.0", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.androidjni": "1.0.0", 12 | "com.unity.modules.animation": "1.0.0", 13 | "com.unity.modules.assetbundle": "1.0.0", 14 | "com.unity.modules.audio": "1.0.0", 15 | "com.unity.modules.cloth": "1.0.0", 16 | "com.unity.modules.director": "1.0.0", 17 | "com.unity.modules.imageconversion": "1.0.0", 18 | "com.unity.modules.imgui": "1.0.0", 19 | "com.unity.modules.jsonserialize": "1.0.0", 20 | "com.unity.modules.particlesystem": "1.0.0", 21 | "com.unity.modules.physics": "1.0.0", 22 | "com.unity.modules.physics2d": "1.0.0", 23 | "com.unity.modules.screencapture": "1.0.0", 24 | "com.unity.modules.terrain": "1.0.0", 25 | "com.unity.modules.terrainphysics": "1.0.0", 26 | "com.unity.modules.tilemap": "1.0.0", 27 | "com.unity.modules.ui": "1.0.0", 28 | "com.unity.modules.uielements": "1.0.0", 29 | "com.unity.modules.umbra": "1.0.0", 30 | "com.unity.modules.unityanalytics": "1.0.0", 31 | "com.unity.modules.unitywebrequest": "1.0.0", 32 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 33 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 34 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 35 | "com.unity.modules.unitywebrequestwww": "1.0.0", 36 | "com.unity.modules.vehicles": "1.0.0", 37 | "com.unity.modules.video": "1.0.0", 38 | "com.unity.modules.vr": "1.0.0", 39 | "com.unity.modules.wind": "1.0.0", 40 | "com.unity.modules.xr": "1.0.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /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 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 9fc0d4010bbf28b4594072e72b8655ab 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /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: 11 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_SerializeInlineMappingsOnOneLine: 1 -------------------------------------------------------------------------------- /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 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} 40 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 41 | m_PreloadedShaders: [] 42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 43 | type: 0} 44 | m_CustomRenderPipeline: {fileID: 0} 45 | m_TransparencySortMode: 0 46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 47 | m_DefaultRenderingPath: 1 48 | m_DefaultMobileRenderingPath: 1 49 | m_TierSettings: [] 50 | m_LightmapStripping: 0 51 | m_FogStripping: 0 52 | m_InstancingStripping: 0 53 | m_LightmapKeepPlain: 1 54 | m_LightmapKeepDirCombined: 1 55 | m_LightmapKeepDynamicPlain: 1 56 | m_LightmapKeepDynamicDirCombined: 1 57 | m_LightmapKeepShadowMask: 1 58 | m_LightmapKeepSubtractive: 1 59 | m_FogKeepLinear: 1 60 | m_FogKeepExp: 1 61 | m_FogKeepExp2: 1 62 | m_AlbedoSwatchInfos: [] 63 | m_LightsUseLinearIntensity: 0 64 | m_LightsUseColorTemperature: 0 65 | m_LogWhenShaderIsCompiled: 0 66 | m_AllowEnlightenSupportForUpgradedProject: 0 67 | -------------------------------------------------------------------------------- /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/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.4.40f1 2 | m_EditorVersionWithRevision: 2019.4.40f1 (ffc62b691db5) 3 | -------------------------------------------------------------------------------- /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_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /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/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 | } --------------------------------------------------------------------------------