diff --git a/.gitignore b/.gitignore index 067556d..3496b7c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,276 +1,73 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ - -# Visual Studio 2015 cache/options directory +# This .gitignore file should be placed at the root of your Unity project directory +# +# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore +# +/[Ll]ibrary/ +/[Tt]emp/ +/[Oo]bj/ +/[Bb]uild/ +/[Bb]uilds/ +/[Ll]ogs/ +/[Uu]ser[Ss]ettings/ + +# MemoryCaptures can get excessive in size. +# They also could contain extremely sensitive data +/[Mm]emoryCaptures/ + +# Recordings can get excessive in size +/[Rr]ecordings/ + +# Uncomment this line if you wish to ignore the asset store tools plugin +# /[Aa]ssets/AssetStoreTools* + +# Autogenerated Jetbrains Rider plugin +/[Aa]ssets/Plugins/Editor/JetBrains* + +# Visual Studio cache directory .vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* -# NUNIT -*.VisualState.xml -TestResult.xml +# Gradle cache directory +.gradle/ -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# .NET Core -project.lock.json -project.fragment.lock.json -artifacts/ -**/Properties/launchSettings.json - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.csproj +*.unityproj +*.sln +*.suo *.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds +*.user +*.userprefs *.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb +*.booproj +*.svd +*.pdb +*.mdb *.opendb -*.opensdf -*.sdf -*.cachefile *.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config -# NuGet v3's project.json files produces more ignoreable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions -# Paket dependency manager -.paket/paket.exe -paket-files/ +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta +*.mdb.meta -# FAKE - F# Make -.fake/ +# Unity3D generated file on crash reports +sysinfo.txt -# JetBrains Rider -.idea/ -*.sln.iml +# Builds +*.apk +*.aab +*.unitypackage +*.unitypackage.meta +*.app -# CodeRush -.cr/ +# Crashlytics generated file +crashlytics-build.properties -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc +# Packed Addressables +/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config -Documentation* +# Temporary auto-generated Android Assets +/[Aa]ssets/[Ss]treamingAssets/aa.meta +/[Aa]ssets/[Ss]treamingAssets/aa/* diff --git a/Assets/ModTool.meta b/Assets/ModTool.meta new file mode 100644 index 0000000..9f67e7a --- /dev/null +++ b/Assets/ModTool.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f32bee2ec844c934298c02ec6187231c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Editor.meta b/Assets/ModTool/Editor.meta new file mode 100644 index 0000000..4685755 --- /dev/null +++ b/Assets/ModTool/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ceb24889a5328e640b459b259c5b8cf2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/AssetSelector.cs b/Assets/ModTool/Editor/AssetSelector.cs similarity index 100% rename from ModTool.Editor/AssetSelector.cs rename to Assets/ModTool/Editor/AssetSelector.cs diff --git a/Assets/ModTool/Editor/AssetSelector.cs.meta b/Assets/ModTool/Editor/AssetSelector.cs.meta new file mode 100644 index 0000000..aa9a65e --- /dev/null +++ b/Assets/ModTool/Editor/AssetSelector.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4c8174587e935746a6b9cf63c5d7eb7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/CodeSettingsEditor.cs b/Assets/ModTool/Editor/CodeSettingsEditor.cs similarity index 100% rename from ModTool.Editor/CodeSettingsEditor.cs rename to Assets/ModTool/Editor/CodeSettingsEditor.cs diff --git a/Assets/ModTool/Editor/CodeSettingsEditor.cs.meta b/Assets/ModTool/Editor/CodeSettingsEditor.cs.meta new file mode 100644 index 0000000..195f70d --- /dev/null +++ b/Assets/ModTool/Editor/CodeSettingsEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: af7a806fb06199a469262e323a21ea23 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/ExporterCreator.cs b/Assets/ModTool/Editor/ExporterCreator.cs similarity index 52% rename from ModTool.Editor/ExporterCreator.cs rename to Assets/ModTool/Editor/ExporterCreator.cs index 1e52efd..aa26174 100644 --- a/ModTool.Editor/ExporterCreator.cs +++ b/Assets/ModTool/Editor/ExporterCreator.cs @@ -4,6 +4,8 @@ using UnityEngine; using UnityEditor; using ModTool.Shared; +using UnityEditorInternal; +using System; namespace ModTool.Editor { @@ -28,10 +30,10 @@ public static void CreateExporterPostBuild(BuildTarget target, string pathToBuil CreateExporter(pathToBuiltProject); } - + private static void CreateExporter(string path, bool revealPackage = false) { - LogUtility.LogInfo("Creating Exporter"); + LogUtility.LogInfo("Creating Mod Exporter for " + ModToolSettings.productName); UpdateSettings(); @@ -39,7 +41,9 @@ private static void CreateExporter(string path, bool revealPackage = false) CodeSettings codeSettings = CodeSettings.instance; string modToolDirectory = GetModToolDirectory(); - string exporterPath = Path.Combine(modToolDirectory, Path.Combine("Editor", "ModTool.Editor.Exporting.dll")); + string exporterPath = Path.Combine(modToolDirectory, Path.Combine("Editor", Path.Combine("Exporting", "ModTool.Editor.Exporting.asmdef"))); + + string fileName = Path.Combine(path, Application.productName + " Mod Tools.unitypackage"); string projectSettingsDirectory = "ProjectSettings"; @@ -47,59 +51,100 @@ private static void CreateExporter(string path, bool revealPackage = false) { AssetDatabase.GetAssetPath(modToolSettings), AssetDatabase.GetAssetPath(codeSettings), - Path.Combine(modToolDirectory, Path.Combine("Editor", "ModTool.Editor.Exporting.dll")), - Path.Combine(modToolDirectory, "ModTool.Shared.dll"), - Path.Combine(modToolDirectory, "ModTool.Shared.xml"), - Path.Combine(modToolDirectory, "ModTool.Interface.dll"), - Path.Combine(modToolDirectory, "ModTool.Interface.xml"), - Path.Combine(modToolDirectory, Path.Combine("Mono.Cecil", "ModTool.Cecil.dll")), - Path.Combine(modToolDirectory, Path.Combine("Mono.Cecil", "LICENSE.txt")), Path.Combine(projectSettingsDirectory, "EditorBuildSettings.asset"), Path.Combine(projectSettingsDirectory, "InputManager.asset"), Path.Combine(projectSettingsDirectory, "TagManager.asset"), Path.Combine(projectSettingsDirectory, "Physics2DSettings.asset"), - Path.Combine(projectSettingsDirectory, "DynamicsManager.asset"), + Path.Combine(projectSettingsDirectory, "DynamicsManager.asset"), + //TODO: include ProjectSettings.asset? }; + string[] folders = new string[] + { + Path.Combine(modToolDirectory, Path.Combine("Scripts", "Shared")), + Path.Combine(modToolDirectory, Path.Combine("Scripts", "Interface")), + Path.Combine(modToolDirectory, Path.Combine("Scripts", "Mono.Cecil")), + Path.Combine(modToolDirectory, Path.Combine("Editor", "Exporting")), + Path.Combine(modToolDirectory, "Resources"), + }; + + foreach (var folder in folders) + assetPaths.AddRange(GetAssetPaths(folder)); + assetPaths.AddRange(ModToolSettings.sharedAssets); - SetPluginEnabled(exporterPath, true); + //Note: Only enable exporter assembly definition for the exporter package. + SetAssemblyDefinitionEnabled(exporterPath, true); AssetDatabase.ExportPackage(assetPaths.ToArray(), fileName); - - SetPluginEnabled(exporterPath, false); - if(revealPackage) + SetAssemblyDefinitionEnabled(exporterPath, false); + + if (revealPackage) EditorUtility.RevealInFinder(fileName); } - private static void SetPluginEnabled(string pluginPath, bool enabled) + private static string[] GetAssetPaths(string path, string filter = "*") { - PluginImporter pluginImporter = AssetImporter.GetAtPath(pluginPath) as PluginImporter; + string[] guids = AssetDatabase.FindAssets(filter, new string[] { path }); + + string[] assetPaths = new string[guids.Length]; - if (pluginImporter.GetCompatibleWithEditor() == enabled) - return; + for (int i = 0; i < guids.Length; i++) + assetPaths[i] = AssetDatabase.GUIDToAssetPath(guids[i]); - pluginImporter.SetCompatibleWithEditor(enabled); - pluginImporter.SaveAndReimport(); + return assetPaths; } - + + private static void SetAssemblyDefinitionEnabled(string path, bool enabled) + { + var asmDef = AssetDatabase.LoadAssetAtPath(path); + + AssemblyData assemblyData = JsonUtility.FromJson(asmDef.text); + + List excludedPlatforms = new List(assemblyData.excludePlatforms); + + if (enabled) + excludedPlatforms.Remove("Editor"); + else if (!excludedPlatforms.Contains("Editor")) + excludedPlatforms.Add("Editor"); + + assemblyData.excludePlatforms = excludedPlatforms.ToArray(); + + File.WriteAllText(path, JsonUtility.ToJson(assemblyData, true)); + + var asset = AssetImporter.GetAtPath(path); + + asset.SaveAndReimport(); + } + private static void UpdateSettings() { if (string.IsNullOrEmpty(ModToolSettings.productName) || ModToolSettings.productName != Application.productName) typeof(ModToolSettings).GetField("_productName", BindingFlags.NonPublic | BindingFlags.Instance).SetValue(ModToolSettings.instance, Application.productName); - if (string.IsNullOrEmpty(ModToolSettings.unityVersion) || ModToolSettings.unityVersion != Application.unityVersion) + if (string.IsNullOrEmpty(ModToolSettings.unityVersion) || ModToolSettings.unityVersion != Application.unityVersion) typeof(ModToolSettings).GetField("_unityVersion", BindingFlags.NonPublic | BindingFlags.Instance).SetValue(ModToolSettings.instance, Application.unityVersion); EditorUtility.SetDirty(ModToolSettings.instance); } private static string GetModToolDirectory() - { - string modToolDirectory = Path.GetDirectoryName(typeof(ModInfo).Assembly.Location); + { + var guid = AssetDatabase.FindAssets("t:folder ModTool"); + + string modToolDirectory = AssetDatabase.GUIDToAssetPath(guid[0]); - return modToolDirectory.Substring(Application.dataPath.Length - 6); + return modToolDirectory; + } + + [Serializable] + private class AssemblyData + { + public string name; + public string[] references; + public string[] includePlatforms; + public string[] excludePlatforms; } } } diff --git a/Assets/ModTool/Editor/ExporterCreator.cs.meta b/Assets/ModTool/Editor/ExporterCreator.cs.meta new file mode 100644 index 0000000..a52d58d --- /dev/null +++ b/Assets/ModTool/Editor/ExporterCreator.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 47af9f3645e16e740ac1a1c4525c5db2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Editor/Exporting.meta b/Assets/ModTool/Editor/Exporting.meta new file mode 100644 index 0000000..fd6f787 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a0d4cc1c17d932c468f17c12ff7b0bfc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/Asset.cs b/Assets/ModTool/Editor/Exporting/Asset.cs similarity index 100% rename from ModTool.Editor.Exporting/Asset.cs rename to Assets/ModTool/Editor/Exporting/Asset.cs diff --git a/Assets/ModTool/Editor/Exporting/Asset.cs.meta b/Assets/ModTool/Editor/Exporting/Asset.cs.meta new file mode 100644 index 0000000..6f47dd6 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/Asset.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d93373c85c2a87844b402f4dde6f2bf3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/EditorModPlatformExtensions.cs b/Assets/ModTool/Editor/Exporting/EditorModPlatformExtensions.cs similarity index 100% rename from ModTool.Editor.Exporting/EditorModPlatformExtensions.cs rename to Assets/ModTool/Editor/Exporting/EditorModPlatformExtensions.cs diff --git a/Assets/ModTool/Editor/Exporting/EditorModPlatformExtensions.cs.meta b/Assets/ModTool/Editor/Exporting/EditorModPlatformExtensions.cs.meta new file mode 100644 index 0000000..90afc2e --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/EditorModPlatformExtensions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 48eb88bbbb750e84183994eaab86dba2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ExportData.cs b/Assets/ModTool/Editor/Exporting/ExportData.cs similarity index 100% rename from ModTool.Editor.Exporting/ExportData.cs rename to Assets/ModTool/Editor/Exporting/ExportData.cs diff --git a/Assets/ModTool/Editor/Exporting/ExportData.cs.meta b/Assets/ModTool/Editor/Exporting/ExportData.cs.meta new file mode 100644 index 0000000..20079b5 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ExportData.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9e763f783772e7d45929ccc3eae2ee29 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ExportSettings.cs b/Assets/ModTool/Editor/Exporting/ExportSettings.cs similarity index 100% rename from ModTool.Editor.Exporting/ExportSettings.cs rename to Assets/ModTool/Editor/Exporting/ExportSettings.cs diff --git a/Assets/ModTool/Editor/Exporting/ExportSettings.cs.meta b/Assets/ModTool/Editor/Exporting/ExportSettings.cs.meta new file mode 100644 index 0000000..3b4ba15 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ExportSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 79b9b93cb07c70845822e9ab2a7205a1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ExportSettingsEditor.cs b/Assets/ModTool/Editor/Exporting/ExportSettingsEditor.cs similarity index 100% rename from ModTool.Editor.Exporting/ExportSettingsEditor.cs rename to Assets/ModTool/Editor/Exporting/ExportSettingsEditor.cs diff --git a/Assets/ModTool/Editor/Exporting/ExportSettingsEditor.cs.meta b/Assets/ModTool/Editor/Exporting/ExportSettingsEditor.cs.meta new file mode 100644 index 0000000..7ea94fc --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ExportSettingsEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b63a3847eaf06b44a9d3aa717b706938 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ExportStep.cs b/Assets/ModTool/Editor/Exporting/ExportStep.cs similarity index 98% rename from ModTool.Editor.Exporting/ExportStep.cs rename to Assets/ModTool/Editor/Exporting/ExportStep.cs index ac8b5ce..82bc8b7 100644 --- a/ModTool.Editor.Exporting/ExportStep.cs +++ b/Assets/ModTool/Editor/Exporting/ExportStep.cs @@ -80,7 +80,7 @@ private void CheckSerializationMode() private void VerifyProject() { if (!string.IsNullOrEmpty(ModToolSettings.unityVersion) && Application.unityVersion != ModToolSettings.unityVersion) - throw new Exception("Mods for " + ModToolSettings.productName + " can only be exported with Unity " + ModToolSettings.unityVersion); + LogUtility.LogWarning("Mods for " + ModToolSettings.productName + " should be exported with " + ModToolSettings.unityVersion + " for optimal compatibility."); if (Application.isPlaying) throw new Exception("Unable to export mod in play mode"); @@ -208,6 +208,9 @@ private void CreateEditorAssemblies(ExportData data) if (!HasScripts(editorFolder) || HasAssemblyDefinition(editorFolder)) continue; + if (editorFolder.Contains("ModTool")) + continue; + string name = editorFolder.Replace(Path.DirectorySeparatorChar, '-'); name = name.Replace(" ", ""); diff --git a/Assets/ModTool/Editor/Exporting/ExportStep.cs.meta b/Assets/ModTool/Editor/Exporting/ExportStep.cs.meta new file mode 100644 index 0000000..1608ee0 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ExportStep.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 695deb0ed34f6d448bfcef0f4fada709 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ExporterEditorWindow.cs b/Assets/ModTool/Editor/Exporting/ExporterEditorWindow.cs similarity index 100% rename from ModTool.Editor.Exporting/ExporterEditorWindow.cs rename to Assets/ModTool/Editor/Exporting/ExporterEditorWindow.cs diff --git a/Assets/ModTool/Editor/Exporting/ExporterEditorWindow.cs.meta b/Assets/ModTool/Editor/Exporting/ExporterEditorWindow.cs.meta new file mode 100644 index 0000000..cc64082 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ExporterEditorWindow.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b94e99933ba006f4bb6e20396b5fa712 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/FilteredEnumMaskField.cs b/Assets/ModTool/Editor/Exporting/FilteredEnumMaskField.cs similarity index 100% rename from ModTool.Editor.Exporting/FilteredEnumMaskField.cs rename to Assets/ModTool/Editor/Exporting/FilteredEnumMaskField.cs diff --git a/Assets/ModTool/Editor/Exporting/FilteredEnumMaskField.cs.meta b/Assets/ModTool/Editor/Exporting/FilteredEnumMaskField.cs.meta new file mode 100644 index 0000000..315dbf1 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/FilteredEnumMaskField.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 881df09e9749dd04990d761a4099e819 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/ModExporter.cs b/Assets/ModTool/Editor/Exporting/ModExporter.cs similarity index 100% rename from ModTool.Editor.Exporting/ModExporter.cs rename to Assets/ModTool/Editor/Exporting/ModExporter.cs diff --git a/Assets/ModTool/Editor/Exporting/ModExporter.cs.meta b/Assets/ModTool/Editor/Exporting/ModExporter.cs.meta new file mode 100644 index 0000000..a1e0413 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ModExporter.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 25a46be8775e57f4d842613c6191d296 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef b/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef new file mode 100644 index 0000000..02c0434 --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef @@ -0,0 +1,29 @@ +{ + "name": "ModTool.Editor.Exporting", + "references": [ + "ModTool.Shared" + ], + "includePlatforms": [], + "excludePlatforms": [ + "Android", + "iOS", + "LinuxStandalone32", + "LinuxStandalone64", + "LinuxStandaloneUniversal", + "macOSStandalone", + "Nintendo3DS", + "PS4", + "PSMobile", + "PSVita", + "Switch", + "Tizen", + "tvOS", + "WebGL", + "WiiU", + "WindowsStandalone32", + "WindowsStandalone64", + "WSA", + "XboxOne", + "Editor" + ] +} \ No newline at end of file diff --git a/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef.meta b/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef.meta new file mode 100644 index 0000000..f5cd3be --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/ModTool.Editor.Exporting.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3af7c2685c7b64b46b490de5b984dea0 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor.Exporting/PackageInstaller.cs b/Assets/ModTool/Editor/Exporting/PackageInstaller.cs similarity index 100% rename from ModTool.Editor.Exporting/PackageInstaller.cs rename to Assets/ModTool/Editor/Exporting/PackageInstaller.cs diff --git a/Assets/ModTool/Editor/Exporting/PackageInstaller.cs.meta b/Assets/ModTool/Editor/Exporting/PackageInstaller.cs.meta new file mode 100644 index 0000000..c895a5a --- /dev/null +++ b/Assets/ModTool/Editor/Exporting/PackageInstaller.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e4b700bd12d07d24b94f4b3f26c6d493 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Editor/ModTool.Editor.asmdef b/Assets/ModTool/Editor/ModTool.Editor.asmdef new file mode 100644 index 0000000..9367832 --- /dev/null +++ b/Assets/ModTool/Editor/ModTool.Editor.asmdef @@ -0,0 +1,10 @@ +{ + "name": "ModTool.Editor", + "references": [ + "ModTool.Shared" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [] +} \ No newline at end of file diff --git a/Assets/ModTool/Editor/ModTool.Editor.asmdef.meta b/Assets/ModTool/Editor/ModTool.Editor.asmdef.meta new file mode 100644 index 0000000..ec10ccd --- /dev/null +++ b/Assets/ModTool/Editor/ModTool.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6cf5bb8d0bcdd35438f7356b401ed1a0 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/ModToolSettingsEditor.cs b/Assets/ModTool/Editor/ModToolSettingsEditor.cs similarity index 92% rename from ModTool.Editor/ModToolSettingsEditor.cs rename to Assets/ModTool/Editor/ModToolSettingsEditor.cs index 4f713ca..b0169ca 100644 --- a/ModTool.Editor/ModToolSettingsEditor.cs +++ b/Assets/ModTool/Editor/ModToolSettingsEditor.cs @@ -25,8 +25,8 @@ public override void OnInspectorGUI() EditorGUILayout.BeginVertical(EditorStyles.helpBox); - ModPlatform supportedPlatforms = (ModPlatform)EditorGUILayout.EnumMaskField("Supported Platforms", (ModPlatform)_supportedPlatforms.intValue); - ModContent supportedContent = (ModContent)EditorGUILayout.EnumMaskField("Supported Content", (ModContent)_supportedContent.intValue); + ModPlatform supportedPlatforms = (ModPlatform)EditorGUILayout.EnumFlagsField("Supported Platforms", (ModPlatform)_supportedPlatforms.intValue); + ModContent supportedContent = (ModContent)EditorGUILayout.EnumFlagsField("Supported Content", (ModContent)_supportedContent.intValue); LogLevel logLevel = (LogLevel)EditorGUILayout.EnumPopup("Log Level", (LogLevel)_logLevel.intValue); _supportedPlatforms.intValue = supportedPlatforms.FixEnum(); diff --git a/Assets/ModTool/Editor/ModToolSettingsEditor.cs.meta b/Assets/ModTool/Editor/ModToolSettingsEditor.cs.meta new file mode 100644 index 0000000..fe2ac7d --- /dev/null +++ b/Assets/ModTool/Editor/ModToolSettingsEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e6ad48c7d5518e6418870a9d7e006615 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/PackageSelector.cs b/Assets/ModTool/Editor/PackageSelector.cs similarity index 100% rename from ModTool.Editor/PackageSelector.cs rename to Assets/ModTool/Editor/PackageSelector.cs diff --git a/Assets/ModTool/Editor/PackageSelector.cs.meta b/Assets/ModTool/Editor/PackageSelector.cs.meta new file mode 100644 index 0000000..f8e4715 --- /dev/null +++ b/Assets/ModTool/Editor/PackageSelector.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a7d2051c7a29c954b94c154646b9774c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/RestrictionDrawer.cs b/Assets/ModTool/Editor/RestrictionDrawer.cs similarity index 100% rename from ModTool.Editor/RestrictionDrawer.cs rename to Assets/ModTool/Editor/RestrictionDrawer.cs diff --git a/Assets/ModTool/Editor/RestrictionDrawer.cs.meta b/Assets/ModTool/Editor/RestrictionDrawer.cs.meta new file mode 100644 index 0000000..2d03b76 --- /dev/null +++ b/Assets/ModTool/Editor/RestrictionDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d5d07ece303ac7347b08adb026e8d1e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/SelectionWindow.cs b/Assets/ModTool/Editor/SelectionWindow.cs similarity index 100% rename from ModTool.Editor/SelectionWindow.cs rename to Assets/ModTool/Editor/SelectionWindow.cs diff --git a/Assets/ModTool/Editor/SelectionWindow.cs.meta b/Assets/ModTool/Editor/SelectionWindow.cs.meta new file mode 100644 index 0000000..ecf593f --- /dev/null +++ b/Assets/ModTool/Editor/SelectionWindow.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3ff9caad1630fbe4d861fc5d5f4917cd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Editor/SettingsEditorWindow.cs b/Assets/ModTool/Editor/SettingsEditorWindow.cs similarity index 100% rename from ModTool.Editor/SettingsEditorWindow.cs rename to Assets/ModTool/Editor/SettingsEditorWindow.cs diff --git a/Assets/ModTool/Editor/SettingsEditorWindow.cs.meta b/Assets/ModTool/Editor/SettingsEditorWindow.cs.meta new file mode 100644 index 0000000..414d6c1 --- /dev/null +++ b/Assets/ModTool/Editor/SettingsEditorWindow.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9d41846d057ca15418e2622007d5bfa8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Example.meta b/Assets/ModTool/Example.meta new file mode 100644 index 0000000..03a2a9c --- /dev/null +++ b/Assets/ModTool/Example.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8fe6ed08323fb3341a9c2a6917e23c21 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example/Assets/ModTool/Example/Menu Scene.unity b/Assets/ModTool/Example/Menu Scene.unity similarity index 100% rename from Example/Assets/ModTool/Example/Menu Scene.unity rename to Assets/ModTool/Example/Menu Scene.unity diff --git a/Assets/ModTool/Example/Menu Scene.unity.meta b/Assets/ModTool/Example/Menu Scene.unity.meta new file mode 100644 index 0000000..0e3f485 --- /dev/null +++ b/Assets/ModTool/Example/Menu Scene.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 37349fb7f701e804cb01b1c08dd4acd6 +timeCreated: 1455139813 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example/Assets/ModTool/Example/Mod Menu Item.prefab b/Assets/ModTool/Example/Mod Menu Item.prefab similarity index 100% rename from Example/Assets/ModTool/Example/Mod Menu Item.prefab rename to Assets/ModTool/Example/Mod Menu Item.prefab diff --git a/Assets/ModTool/Example/Mod Menu Item.prefab.meta b/Assets/ModTool/Example/Mod Menu Item.prefab.meta new file mode 100644 index 0000000..cf5acaa --- /dev/null +++ b/Assets/ModTool/Example/Mod Menu Item.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 47e9c5d23f6e1984e84773e6d6c51372 +timeCreated: 1501401430 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example/Assets/ModTool/Example/ModItem.cs b/Assets/ModTool/Example/ModItem.cs similarity index 100% rename from Example/Assets/ModTool/Example/ModItem.cs rename to Assets/ModTool/Example/ModItem.cs diff --git a/Assets/ModTool/Example/ModItem.cs.meta b/Assets/ModTool/Example/ModItem.cs.meta new file mode 100644 index 0000000..b141388 --- /dev/null +++ b/Assets/ModTool/Example/ModItem.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 9a3f4d246839e4948a37b14e09e36840 +timeCreated: 1455674983 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example/Assets/ModTool/Example/ModMenu.cs b/Assets/ModTool/Example/ModMenu.cs similarity index 100% rename from Example/Assets/ModTool/Example/ModMenu.cs rename to Assets/ModTool/Example/ModMenu.cs diff --git a/Assets/ModTool/Example/ModMenu.cs.meta b/Assets/ModTool/Example/ModMenu.cs.meta new file mode 100644 index 0000000..fa93c06 --- /dev/null +++ b/Assets/ModTool/Example/ModMenu.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: dcf26e3d20a39694cbec8e937f4ebc9a +timeCreated: 1472208813 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: -100 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Resources.meta b/Assets/ModTool/Resources.meta new file mode 100644 index 0000000..80848bb --- /dev/null +++ b/Assets/ModTool/Resources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5dbb43297a045564f8fc9afb7949d55b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example Mod/Assets/ModTool/Resources/CodeSettings.asset b/Assets/ModTool/Resources/CodeSettings.asset similarity index 88% rename from Example Mod/Assets/ModTool/Resources/CodeSettings.asset rename to Assets/ModTool/Resources/CodeSettings.asset index b6a9200..a63cc31 100644 --- a/Example Mod/Assets/ModTool/Resources/CodeSettings.asset +++ b/Assets/ModTool/Resources/CodeSettings.asset @@ -8,7 +8,7 @@ MonoBehaviour: m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 562734972, guid: b981ac5fea65cbf46ab728daad9c9206, type: 3} + m_Script: {fileID: 11500000, guid: 102698b209becc94581c8052b88e47b8, type: 3} m_Name: CodeSettings m_EditorClassIdentifier: _inheritanceRestrictions: [] diff --git a/Assets/ModTool/Resources/CodeSettings.asset.meta b/Assets/ModTool/Resources/CodeSettings.asset.meta new file mode 100644 index 0000000..3f50849 --- /dev/null +++ b/Assets/ModTool/Resources/CodeSettings.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 282dc0cbb15d75a41a7acf3caf7a5b87 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example/Assets/ModTool/Resources/ModToolSettings.asset b/Assets/ModTool/Resources/ModToolSettings.asset similarity index 79% rename from Example/Assets/ModTool/Resources/ModToolSettings.asset rename to Assets/ModTool/Resources/ModToolSettings.asset index e0f2d4f..461ec4e 100644 --- a/Example/Assets/ModTool/Resources/ModToolSettings.asset +++ b/Assets/ModTool/Resources/ModToolSettings.asset @@ -8,10 +8,10 @@ MonoBehaviour: m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 1009295391, guid: b981ac5fea65cbf46ab728daad9c9206, type: 3} + m_Script: {fileID: 11500000, guid: e2fdb5c54772eb84c98fb3ae843fceb1, type: 3} m_Name: ModToolSettings m_EditorClassIdentifier: - _productName: Example + _productName: ModTool _unityVersion: 2017.4.40f1 _supportedPlatforms: 15 _supportedContent: 7 diff --git a/Assets/ModTool/Resources/ModToolSettings.asset.meta b/Assets/ModTool/Resources/ModToolSettings.asset.meta new file mode 100644 index 0000000..95e51d4 --- /dev/null +++ b/Assets/ModTool/Resources/ModToolSettings.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc2a564223df660438c7068673d778ef +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts.meta b/Assets/ModTool/Scripts.meta new file mode 100644 index 0000000..129ad6e --- /dev/null +++ b/Assets/ModTool/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9006c98d1636c3147a0c8c7c46568d3e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/AndroidAssemblyResolver.cs b/Assets/ModTool/Scripts/AndroidAssemblyResolver.cs similarity index 100% rename from ModTool/AndroidAssemblyResolver.cs rename to Assets/ModTool/Scripts/AndroidAssemblyResolver.cs diff --git a/Assets/ModTool/Scripts/AndroidAssemblyResolver.cs.meta b/Assets/ModTool/Scripts/AndroidAssemblyResolver.cs.meta new file mode 100644 index 0000000..5f6f236 --- /dev/null +++ b/Assets/ModTool/Scripts/AndroidAssemblyResolver.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6801b1d455a13b848bbbab88873c23e2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/AssemblyResource.cs b/Assets/ModTool/Scripts/AssemblyResource.cs similarity index 100% rename from ModTool/AssemblyResource.cs rename to Assets/ModTool/Scripts/AssemblyResource.cs diff --git a/Assets/ModTool/Scripts/AssemblyResource.cs.meta b/Assets/ModTool/Scripts/AssemblyResource.cs.meta new file mode 100644 index 0000000..c710795 --- /dev/null +++ b/Assets/ModTool/Scripts/AssemblyResource.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c5bdcf3d4d90f6d4f977a6d2e86e26b6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/AssetBundleResource.cs b/Assets/ModTool/Scripts/AssetBundleResource.cs similarity index 100% rename from ModTool/AssetBundleResource.cs rename to Assets/ModTool/Scripts/AssetBundleResource.cs diff --git a/Assets/ModTool/Scripts/AssetBundleResource.cs.meta b/Assets/ModTool/Scripts/AssetBundleResource.cs.meta new file mode 100644 index 0000000..ac4121f --- /dev/null +++ b/Assets/ModTool/Scripts/AssetBundleResource.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 82c76317d590c7846939ef2470c9c59c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/Dispatcher.cs b/Assets/ModTool/Scripts/Dispatcher.cs similarity index 100% rename from ModTool/Dispatcher.cs rename to Assets/ModTool/Scripts/Dispatcher.cs diff --git a/Assets/ModTool/Scripts/Dispatcher.cs.meta b/Assets/ModTool/Scripts/Dispatcher.cs.meta new file mode 100644 index 0000000..50130ed --- /dev/null +++ b/Assets/ModTool/Scripts/Dispatcher.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9064892ef45190c4fbce43366de351f5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/Interface.meta b/Assets/ModTool/Scripts/Interface.meta new file mode 100644 index 0000000..5509317 --- /dev/null +++ b/Assets/ModTool/Scripts/Interface.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6674c6dc2b377f04ea8979d510989ab1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Interface/IModHandler.cs b/Assets/ModTool/Scripts/Interface/IModHandler.cs similarity index 100% rename from ModTool.Interface/IModHandler.cs rename to Assets/ModTool/Scripts/Interface/IModHandler.cs diff --git a/Assets/ModTool/Scripts/Interface/IModHandler.cs.meta b/Assets/ModTool/Scripts/Interface/IModHandler.cs.meta new file mode 100644 index 0000000..d2cd7a3 --- /dev/null +++ b/Assets/ModTool/Scripts/Interface/IModHandler.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 101c4183df599f9429c7d931236109d9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef b/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef new file mode 100644 index 0000000..4b4ee17 --- /dev/null +++ b/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef @@ -0,0 +1,3 @@ +{ + "name": "ModTool.Interface" +} diff --git a/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef.meta b/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef.meta new file mode 100644 index 0000000..255b712 --- /dev/null +++ b/Assets/ModTool/Scripts/Interface/ModTool.Interface.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 10cd3de7ae2f5154cb229cdbe2f02f5e +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/Mod.cs b/Assets/ModTool/Scripts/Mod.cs similarity index 100% rename from ModTool/Mod.cs rename to Assets/ModTool/Scripts/Mod.cs diff --git a/Assets/ModTool/Scripts/Mod.cs.meta b/Assets/ModTool/Scripts/Mod.cs.meta new file mode 100644 index 0000000..f5210d4 --- /dev/null +++ b/Assets/ModTool/Scripts/Mod.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 544a8b4e6bcb4b74299e2619decf3840 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/ModManager.cs b/Assets/ModTool/Scripts/ModManager.cs similarity index 99% rename from ModTool/ModManager.cs rename to Assets/ModTool/Scripts/ModManager.cs index 5d6757a..e686f5d 100644 --- a/ModTool/ModManager.cs +++ b/Assets/ModTool/Scripts/ModManager.cs @@ -114,6 +114,8 @@ public static void AddSearchDirectory(string path) /// The path of the search directory. public static void RemoveSearchDirectory(string path) { + //TODO: what if search directory contains loaded mod? + ModSearchDirectory directory = searchDirectories.Find(s => s.path.NormalizedPath() == path.NormalizedPath()); if (directory == null) diff --git a/Assets/ModTool/Scripts/ModManager.cs.meta b/Assets/ModTool/Scripts/ModManager.cs.meta new file mode 100644 index 0000000..ebf9311 --- /dev/null +++ b/Assets/ModTool/Scripts/ModManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 83712d80b5d17734a8a88e4cbeb57f33 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/ModScene.cs b/Assets/ModTool/Scripts/ModScene.cs similarity index 100% rename from ModTool/ModScene.cs rename to Assets/ModTool/Scripts/ModScene.cs diff --git a/Assets/ModTool/Scripts/ModScene.cs.meta b/Assets/ModTool/Scripts/ModScene.cs.meta new file mode 100644 index 0000000..1a44fb1 --- /dev/null +++ b/Assets/ModTool/Scripts/ModScene.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a4e104a0074a90e429b569a32458bc18 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/ModSearchDirectory.cs b/Assets/ModTool/Scripts/ModSearchDirectory.cs similarity index 100% rename from ModTool/ModSearchDirectory.cs rename to Assets/ModTool/Scripts/ModSearchDirectory.cs diff --git a/Assets/ModTool/Scripts/ModSearchDirectory.cs.meta b/Assets/ModTool/Scripts/ModSearchDirectory.cs.meta new file mode 100644 index 0000000..64fcc84 --- /dev/null +++ b/Assets/ModTool/Scripts/ModSearchDirectory.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 61f1179ea7c78d04ca01f409f2df155d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/ModTool.asmdef b/Assets/ModTool/Scripts/ModTool.asmdef new file mode 100644 index 0000000..46b8bd8 --- /dev/null +++ b/Assets/ModTool/Scripts/ModTool.asmdef @@ -0,0 +1,9 @@ +{ + "name": "ModTool", + "references": [ + "ModTool.Shared", + "ModTool.Interface" + ], + "includePlatforms": [], + "excludePlatforms": [] +} \ No newline at end of file diff --git a/Assets/ModTool/Scripts/ModTool.asmdef.meta b/Assets/ModTool/Scripts/ModTool.asmdef.meta new file mode 100644 index 0000000..7b3c66e --- /dev/null +++ b/Assets/ModTool/Scripts/ModTool.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bfb0479ba6c3ab64c96a70884ad72d96 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/Mono.Cecil.meta b/Assets/ModTool/Scripts/Mono.Cecil.meta new file mode 100644 index 0000000..98e4627 --- /dev/null +++ b/Assets/ModTool/Scripts/Mono.Cecil.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: be64a17f87f80654e9b6926281b7adeb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example Mod/Assets/ModTool/Mono.Cecil/LICENSE.txt b/Assets/ModTool/Scripts/Mono.Cecil/LICENSE.txt similarity index 100% rename from Example Mod/Assets/ModTool/Mono.Cecil/LICENSE.txt rename to Assets/ModTool/Scripts/Mono.Cecil/LICENSE.txt diff --git a/Assets/ModTool/Scripts/Mono.Cecil/LICENSE.txt.meta b/Assets/ModTool/Scripts/Mono.Cecil/LICENSE.txt.meta new file mode 100644 index 0000000..277586b --- /dev/null +++ b/Assets/ModTool/Scripts/Mono.Cecil/LICENSE.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: dd1afc418a94a79479389eeff2261ebf +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example Mod/Assets/ModTool/Mono.Cecil/ModTool.Cecil.dll b/Assets/ModTool/Scripts/Mono.Cecil/ModTool.Cecil.dll similarity index 100% rename from Example Mod/Assets/ModTool/Mono.Cecil/ModTool.Cecil.dll rename to Assets/ModTool/Scripts/Mono.Cecil/ModTool.Cecil.dll diff --git a/Assets/ModTool/Scripts/Mono.Cecil/ModTool.Cecil.dll.meta b/Assets/ModTool/Scripts/Mono.Cecil/ModTool.Cecil.dll.meta new file mode 100644 index 0000000..b4d54c7 --- /dev/null +++ b/Assets/ModTool/Scripts/Mono.Cecil/ModTool.Cecil.dll.meta @@ -0,0 +1,30 @@ +fileFormatVersion: 2 +guid: eeb5cb983cd08354e8b72f6d08a73643 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + isPreloaded: 0 + isOverridable: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/ObjectManager.cs b/Assets/ModTool/Scripts/ObjectManager.cs similarity index 100% rename from ModTool/ObjectManager.cs rename to Assets/ModTool/Scripts/ObjectManager.cs diff --git a/Assets/ModTool/Scripts/ObjectManager.cs.meta b/Assets/ModTool/Scripts/ObjectManager.cs.meta new file mode 100644 index 0000000..7804e5b --- /dev/null +++ b/Assets/ModTool/Scripts/ObjectManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c713f26f533438f45b19d9de50eac453 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/Resource.cs b/Assets/ModTool/Scripts/Resource.cs similarity index 100% rename from ModTool/Resource.cs rename to Assets/ModTool/Scripts/Resource.cs diff --git a/Assets/ModTool/Scripts/Resource.cs.meta b/Assets/ModTool/Scripts/Resource.cs.meta new file mode 100644 index 0000000..c64a944 --- /dev/null +++ b/Assets/ModTool/Scripts/Resource.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1da3fcfa6daa3554e8ae58e672d74bfd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool/SceneExtensions.cs b/Assets/ModTool/Scripts/SceneExtensions.cs similarity index 100% rename from ModTool/SceneExtensions.cs rename to Assets/ModTool/Scripts/SceneExtensions.cs diff --git a/Assets/ModTool/Scripts/SceneExtensions.cs.meta b/Assets/ModTool/Scripts/SceneExtensions.cs.meta new file mode 100644 index 0000000..9e87faa --- /dev/null +++ b/Assets/ModTool/Scripts/SceneExtensions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 36acb94faf9a2b94db43e355777b3aca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/Shared.meta b/Assets/ModTool/Scripts/Shared.meta new file mode 100644 index 0000000..0bb25e7 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f0adb28ca548cd54a94093884273ead3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/AssemblyResolver.cs b/Assets/ModTool/Scripts/Shared/AssemblyResolver.cs similarity index 100% rename from ModTool.Shared/AssemblyResolver.cs rename to Assets/ModTool/Scripts/Shared/AssemblyResolver.cs diff --git a/Assets/ModTool/Scripts/Shared/AssemblyResolver.cs.meta b/Assets/ModTool/Scripts/Shared/AssemblyResolver.cs.meta new file mode 100644 index 0000000..8f02edf --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/AssemblyResolver.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9fadc02b97d93fc4494d6d2a153d78ad +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/AssemblyUtility.cs b/Assets/ModTool/Scripts/Shared/AssemblyUtility.cs similarity index 100% rename from ModTool.Shared/AssemblyUtility.cs rename to Assets/ModTool/Scripts/Shared/AssemblyUtility.cs diff --git a/Assets/ModTool/Scripts/Shared/AssemblyUtility.cs.meta b/Assets/ModTool/Scripts/Shared/AssemblyUtility.cs.meta new file mode 100644 index 0000000..4a98e79 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/AssemblyUtility.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 305ebe7ff7f739c4f9a15be310d3efd9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/AssemblyVerifier.cs b/Assets/ModTool/Scripts/Shared/AssemblyVerifier.cs similarity index 100% rename from ModTool.Shared/AssemblyVerifier.cs rename to Assets/ModTool/Scripts/Shared/AssemblyVerifier.cs diff --git a/Assets/ModTool/Scripts/Shared/AssemblyVerifier.cs.meta b/Assets/ModTool/Scripts/Shared/AssemblyVerifier.cs.meta new file mode 100644 index 0000000..02b25a0 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/AssemblyVerifier.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d5adc028f40fe3d4ba5e35357bd50fa3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/CodeSettings.cs b/Assets/ModTool/Scripts/Shared/CodeSettings.cs similarity index 100% rename from ModTool.Shared/CodeSettings.cs rename to Assets/ModTool/Scripts/Shared/CodeSettings.cs diff --git a/Assets/ModTool/Scripts/Shared/CodeSettings.cs.meta b/Assets/ModTool/Scripts/Shared/CodeSettings.cs.meta new file mode 100644 index 0000000..bf7ff28 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/CodeSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 102698b209becc94581c8052b88e47b8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/Extensions.cs b/Assets/ModTool/Scripts/Shared/Extensions.cs similarity index 100% rename from ModTool.Shared/Extensions.cs rename to Assets/ModTool/Scripts/Shared/Extensions.cs diff --git a/Assets/ModTool/Scripts/Shared/Extensions.cs.meta b/Assets/ModTool/Scripts/Shared/Extensions.cs.meta new file mode 100644 index 0000000..7f36ad4 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/Extensions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 71bea2926dac0fd4d9abc77862c0fa0e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/LogUtility.cs b/Assets/ModTool/Scripts/Shared/LogUtility.cs similarity index 100% rename from ModTool.Shared/LogUtility.cs rename to Assets/ModTool/Scripts/Shared/LogUtility.cs diff --git a/Assets/ModTool/Scripts/Shared/LogUtility.cs.meta b/Assets/ModTool/Scripts/Shared/LogUtility.cs.meta new file mode 100644 index 0000000..eb94084 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/LogUtility.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e06171f2a85d4c54db58355288a7b47c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/ModContent.cs b/Assets/ModTool/Scripts/Shared/ModContent.cs similarity index 100% rename from ModTool.Shared/ModContent.cs rename to Assets/ModTool/Scripts/Shared/ModContent.cs diff --git a/Assets/ModTool/Scripts/Shared/ModContent.cs.meta b/Assets/ModTool/Scripts/Shared/ModContent.cs.meta new file mode 100644 index 0000000..24ea5a4 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModContent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 53b84ae7fd5f3354d85b101806b94428 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/ModInfo.cs b/Assets/ModTool/Scripts/Shared/ModInfo.cs similarity index 100% rename from ModTool.Shared/ModInfo.cs rename to Assets/ModTool/Scripts/Shared/ModInfo.cs diff --git a/Assets/ModTool/Scripts/Shared/ModInfo.cs.meta b/Assets/ModTool/Scripts/Shared/ModInfo.cs.meta new file mode 100644 index 0000000..0a89308 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModInfo.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f02a15aa5801aac46ba98c53a305b35d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/ModPlatform.cs b/Assets/ModTool/Scripts/Shared/ModPlatform.cs similarity index 78% rename from ModTool.Shared/ModPlatform.cs rename to Assets/ModTool/Scripts/Shared/ModPlatform.cs index fc560ac..8ba1d0d 100644 --- a/ModTool.Shared/ModPlatform.cs +++ b/Assets/ModTool/Scripts/Shared/ModPlatform.cs @@ -27,29 +27,19 @@ public static bool HasRuntimePlatform(this ModPlatform self, RuntimePlatform run switch (runtimePlatform) { case RuntimePlatform.WindowsPlayer: - if ((self & ModPlatform.Windows) == ModPlatform.Windows) - return true; - break; + return self.HasFlag(ModPlatform.Windows); case RuntimePlatform.WindowsEditor: - if ((self & ModPlatform.Windows) == ModPlatform.Windows) - return true; - break; + return self.HasFlag(ModPlatform.Windows); case RuntimePlatform.LinuxPlayer: - if ((self & ModPlatform.Linux) == ModPlatform.Linux) - return true; - break; + return self.HasFlag(ModPlatform.Linux); + case RuntimePlatform.LinuxEditor: + return self.HasFlag(ModPlatform.Linux); case RuntimePlatform.OSXPlayer: - if ((self & ModPlatform.OSX) == ModPlatform.OSX) - return true; - break; + return self.HasFlag(ModPlatform.OSX); case RuntimePlatform.OSXEditor: - if ((self & ModPlatform.OSX) == ModPlatform.OSX) - return true; - break; + return self.HasFlag(ModPlatform.OSX); case RuntimePlatform.Android: - if ((self & ModPlatform.Android) == ModPlatform.Android) - return true; - break; + return self.HasFlag(ModPlatform.Android); } return false; @@ -70,6 +60,8 @@ public static ModPlatform GetModPlatform(this RuntimePlatform self) return ModPlatform.Windows; case RuntimePlatform.LinuxPlayer: return ModPlatform.Linux; + case RuntimePlatform.LinuxEditor: + return ModPlatform.Linux; case RuntimePlatform.OSXPlayer: return ModPlatform.OSX; case RuntimePlatform.OSXEditor: diff --git a/Assets/ModTool/Scripts/Shared/ModPlatform.cs.meta b/Assets/ModTool/Scripts/Shared/ModPlatform.cs.meta new file mode 100644 index 0000000..869e4f5 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModPlatform.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c5a85886b99ea2e49ba885eba09329b4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef b/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef new file mode 100644 index 0000000..eab9274 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef @@ -0,0 +1,3 @@ +{ + "name": "ModTool.Shared" +} diff --git a/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef.meta b/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef.meta new file mode 100644 index 0000000..a238f27 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModTool.Shared.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: fe62719c02087de49aa0d0e0c1272a32 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/ModToolSettings.cs b/Assets/ModTool/Scripts/Shared/ModToolSettings.cs similarity index 100% rename from ModTool.Shared/ModToolSettings.cs rename to Assets/ModTool/Scripts/Shared/ModToolSettings.cs diff --git a/Assets/ModTool/Scripts/Shared/ModToolSettings.cs.meta b/Assets/ModTool/Scripts/Shared/ModToolSettings.cs.meta new file mode 100644 index 0000000..632d226 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/ModToolSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e2fdb5c54772eb84c98fb3ae843fceb1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/Restriction.cs b/Assets/ModTool/Scripts/Shared/Restriction.cs similarity index 100% rename from ModTool.Shared/Restriction.cs rename to Assets/ModTool/Scripts/Shared/Restriction.cs diff --git a/Assets/ModTool/Scripts/Shared/Restriction.cs.meta b/Assets/ModTool/Scripts/Shared/Restriction.cs.meta new file mode 100644 index 0000000..e200793 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/Restriction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cb337cb3e54c1ea428c778c6389577f6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ModTool.Shared/Singleton.cs b/Assets/ModTool/Scripts/Shared/Singleton.cs similarity index 80% rename from ModTool.Shared/Singleton.cs rename to Assets/ModTool/Scripts/Shared/Singleton.cs index 62ac939..df757a8 100644 --- a/ModTool.Shared/Singleton.cs +++ b/Assets/ModTool/Scripts/Shared/Singleton.cs @@ -43,13 +43,10 @@ protected static void GetInstance() CreateAsset(); } } - + private static void CreateAsset() { - string modToolDirectory = Path.GetDirectoryName(typeof(ModInfo).Assembly.Location); - string resourcesDirectory = Path.Combine(modToolDirectory, "Resources"); - - resourcesDirectory = resourcesDirectory.Substring(Application.dataPath.Length - 6); + string resourcesDirectory = GetResourcesDirectory(); if (Directory.Exists(resourcesDirectory)) Directory.CreateDirectory(resourcesDirectory); @@ -65,5 +62,19 @@ private static void CreateAsset() method.Invoke(null, new object[] { _instance, assetPath }); } + + private static string GetResourcesDirectory() + { +#if UNITY_EDITOR + var guid = UnityEditor.AssetDatabase.FindAssets("t:folder ModTool"); + + string modToolDirectory = UnityEditor.AssetDatabase.GUIDToAssetPath(guid[0]); + + return Path.Combine(modToolDirectory, "Resources"); +#else + return ""; +#endif + } + } } diff --git a/Assets/ModTool/Scripts/Shared/Singleton.cs.meta b/Assets/ModTool/Scripts/Shared/Singleton.cs.meta new file mode 100644 index 0000000..0df2344 --- /dev/null +++ b/Assets/ModTool/Scripts/Shared/Singleton.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 448955fc21208054689d21e2103143c4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Example Mod/.gitignore b/Example Mod/.gitignore deleted file mode 100644 index b42140a..0000000 --- a/Example Mod/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# =============== # -# Unity generated # -# =============== # -/[Ll]ibrary/ -/[Tt]emp/ -/[Oo]bj/ -/[Bb]uild/ -/[Bb]uilds/ -/Assets/AssetStoreTools* -sysinfo.txt -*.stackdump - -# ============================================= # -# Visual Studio / MonoDevelop / Rider generated # -# ============================================= # -[Ee]xported[Oo]bj/ -.vs/ -/*.userprefs -/*.csproj -/*.pidb -/*.suo -/*.sln* -/*.user -/*.unityproj -/*.booproj -/.idea*/ - -# ============ # -# OS generated # -# ============ # -.DS_Store* -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -[Tt]humbs.db -[Dd]esktop.ini \ No newline at end of file diff --git a/Example Mod/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll b/Example Mod/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll deleted file mode 100644 index 30068cc..0000000 Binary files a/Example Mod/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll and /dev/null differ diff --git a/Example Mod/Assets/ModTool/ModTool.Interface.dll b/Example Mod/Assets/ModTool/ModTool.Interface.dll deleted file mode 100644 index 744f26d..0000000 Binary files a/Example Mod/Assets/ModTool/ModTool.Interface.dll and /dev/null differ diff --git a/Example Mod/Assets/ModTool/ModTool.Interface.xml b/Example Mod/Assets/ModTool/ModTool.Interface.xml deleted file mode 100644 index d0d1ed3..0000000 --- a/Example Mod/Assets/ModTool/ModTool.Interface.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ModTool.Interface - - - - - Interface to be implemented by mods that wish to receive OnLoaded and OnUnloaded calls. - Non-UnityEngine.Object types that implement this interface will be instantiated when the Mod loads. - - - - - Called when the Mod is loaded. - - - - - Called when the Mod is unloaded. - - - - diff --git a/Example Mod/Assets/ModTool/ModTool.Shared.dll b/Example Mod/Assets/ModTool/ModTool.Shared.dll deleted file mode 100644 index 0002edc..0000000 Binary files a/Example Mod/Assets/ModTool/ModTool.Shared.dll and /dev/null differ diff --git a/Example Mod/Assets/ModTool/ModTool.Shared.xml b/Example Mod/Assets/ModTool/ModTool.Shared.xml deleted file mode 100644 index 2b69a3c..0000000 --- a/Example Mod/Assets/ModTool/ModTool.Shared.xml +++ /dev/null @@ -1,482 +0,0 @@ - - - - ModTool.Shared - - - - - Stores settings related to code verification for Mods. - - - - - Restrictions related to inheritance of Types inside Mod Assemblies. - - - - - Restrictions related to the use of fields, properties and methods from other types. - - - - - Restrictions related to the use of Types for fields and properties. - - - - - Restrictions related to the use of entire namespaces. - - - - - Filter level for logging messages to the console or log file. - - - - - A class for logging filtered messages. - - - - - Log a debug message. - - The debug message. - - - - Log a message. - - The message. - - - - Log a warning. - - The warning message. - - - - Log an error. - - The error message - - - - Log an exception. - - The exception - - - - Extension methods for enums. - - - - - Unity's enum mask fields set all bits to 1. This sets all unused bits to 0, so it can be converted to a string and serialized properly. - - An enum instance. - A fixed enum. - - - - Extension methods for strings. - - - - - Returns a normalized version of a path. - - A string. - A normalized version of a path. - - - - Extension methods for Mono.Cecil. - - - - - Is this Type a subclass of the other Type? - - A TypeDefinition. - A Type's full name. - True if this TypeDefinition is a subclass of the Type. - - - - Get the Type's name including the Type's namespace. - - - - - - - Get the Member's name including the declaring Type's full name. - - - - - - - Flags for different types of content that can be included in a Mod. - - - - - Class that stores a Mod's name, author, description, version, path and supported platforms. - - - - - Name - - - - - Supported platforms for this mod. - - - - - The Mod's available content types. - - - - - Mod author. - - - - - Mod description. - - - - - Mod version. - - - - - The version of Unity that was used to export this mod. - - - - - Should this mod be enabled. - - - - - Location of mod - - - - - Initialize a new ModInfo. - - The Mod's name. - The Mod's author. - The Mod's description. - The Mod's supported platforms. - The Mod's available content types. - The Mod's version - The version of Unity that the Mod was exported with. - - - - Save this ModInfo. - - - - - Save a ModInfo. - - The path to save the ModInfo to. - The ModInfo to save. - - - - Load a ModInfo. - - The path to load the ModInfo from. - The loaded Modinfo, if succeeded. Null otherwise. - - - - Represents a platform or a combination of platforms. - - - - - Extension methods for ModPlatform. - - - - - Does this ModPlatform include the equivalent RuntimePlatform? - - A ModPlatform instance. - A RuntimePlatform. - True if the ModPlatform includes the equivalent RuntimePlatform. - - - - Get the equivalent ModPlatform for this RuntimePlatform. - - A RuntimePlatform. - The equivalent ModPlatform. - - - - Get a list of the equivalent RuntimePlatforms for this ModPlatform - - A ModPlatform instance. - A List of equivalent RuntimePlatforms. - - - - Class for storing general ModTool settings. - - - - - The product name for the project. - - - - - The unity version of the project. - - - - - The supported platforms for the project. - - - - - The types of content that are supported for the project. - - - - - ModTool's log level. - - - - - List of assets that are shared with mods. - - - - - List of packages that are shared with mods. - - - - - A class for verifying Assembly files based on a number of Restrictions. - - - - - Initialize an AssemblyVerifier with a specified IAssemblyResolver. - - - - - - Verify a collection of assemblies. - - A list of assembly file paths. - List of messages from failed restrictions. - - - - Verify an assembly. - - The file path of the assembly. - List of messages from failed restrictions. - - - - Base class for restrictions. A restriction either requires or prohibits something. - - - - - The message to use when this restriction causes the verification to fail. - - - - - The base type to which the Restriction will be applied. - - - - - Does the Restriction require or prohibit the use of something? - - - - - Initialize a new Restriction. - - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Verify a member with this Restriction. - - A member. - A list of messages of failed Restrictions. - - - - Is the Restriction present in the member? - - A member. - True if the Restriction is present in the member. - - - - Is the restriction present in a local variable? - - A local variable - True if the restriction is present in the local variable. - - - - Get a Restriction message for a MemberReference. - - - - - - - Is this Restriction applicable to the member? - - A member. - True if the Restriction is applicable. - - - - Is this Restriction applicable to the Type? - - A Type. - True if the Restriction is applicable. - - - - A restriction that either requires or prohibits the use of a namespace. - - - - - The namespace that will be checked for this restriction. - - - - - Should nested namespaces be restricted as well? - - - - - Initialize a new NamespaceRestriction - - The namespace that will be checked for this restriction. - Should nested namespaces be restricted as well? - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - A restriction that either requires or prohibits the use of a Type - - - - - The Type that will be checked for this Restriction. - - - - - Initialize a new TypeRestriction. - - The Type that will be checked for this Restriction. - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - A restriction that either requires or prohibits inheritance from a class - - - - - The Type that will be checked for this Restriction. - - - - - Initialize a new InheritanceRestriction. - - The Type that will be checked for this Restriction - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Type for applying Restrictions. - - - - - A restriction that either requires or prohibits the use of a given Type's member - - - - - The member that will be checked for this Restriction. - - - - - Initialize a new MemberRestriction. - - The member that will be checked for this Restriction. - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Utility for finding Assemblies. - - - - - Is an assembly shared with the mod exporter? - - The assembly's file path. - True if an assembly is shared with the mod exporter. - - - - A singleton class for ScriptableObjecs, which stores itself as an asset in a Resources folder. - - - - - diff --git a/Example Mod/Assets/ModTool/Resources/ExportSettings.asset b/Example Mod/Assets/ModTool/Resources/ExportSettings.asset deleted file mode 100644 index 8c1d6e1..0000000 --- a/Example Mod/Assets/ModTool/Resources/ExportSettings.asset +++ /dev/null @@ -1,20 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 996502196, guid: 428e933d3f7300d4aab85a5ea182df35, type: 3} - m_Name: ExportSettings - m_EditorClassIdentifier: - _name: Example Mod - _author: - _description: - _version: - _platforms: 1 - _content: 7 - _outputDirectory: C:/Users/Tim/Desktop/ModTool/Example/Mods diff --git a/Example Mod/Assets/ModTool/Resources/ModExporter.asset b/Example Mod/Assets/ModTool/Resources/ModExporter.asset deleted file mode 100644 index c109e87..0000000 --- a/Example Mod/Assets/ModTool/Resources/ModExporter.asset +++ /dev/null @@ -1,22 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -330421226, guid: 428e933d3f7300d4aab85a5ea182df35, type: 3} - m_Name: ModExporter - m_EditorClassIdentifier: - _isExporting: 0 - currentStep: 0 - data: - assemblyDefinitions: [] - assemblies: [] - assets: [] - scenes: [] - content: 0 - loadedScene: diff --git a/Example Mod/Assets/ModTool/Resources/ModToolSettings.asset b/Example Mod/Assets/ModTool/Resources/ModToolSettings.asset deleted file mode 100644 index d53a7e1..0000000 --- a/Example Mod/Assets/ModTool/Resources/ModToolSettings.asset +++ /dev/null @@ -1,20 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1009295391, guid: b981ac5fea65cbf46ab728daad9c9206, type: 3} - m_Name: ModToolSettings - m_EditorClassIdentifier: - _productName: Example Mod - _unityVersion: 2017.4.40f1 - _supportedPlatforms: 15 - _supportedContent: 7 - _logLevel: 3 - _sharedAssets: [] - _sharedPackages: [] diff --git a/Example Mod/Assets/New Material.mat b/Example Mod/Assets/New Material.mat deleted file mode 100644 index c6bb95a..0000000 --- a/Example Mod/Assets/New Material.mat +++ /dev/null @@ -1,76 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_Name: New Material - m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} - m_ShaderKeywords: _EMISSION - m_LightmapFlags: 1 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _BumpScale: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DstBlend: 0 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _Metallic: 0 - - _Mode: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _ZWrite: 1 - m_Colors: - - _Color: {r: 1, g: 0, b: 0, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Example Mod/Assets/Scene.unity b/Example Mod/Assets/Scene.unity deleted file mode 100644 index 7f2e505..0000000 --- a/Example Mod/Assets/Scene.unity +++ /dev/null @@ -1,436 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -OcclusionCullingSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 - m_SceneGUID: 00000000000000000000000000000000 - m_OcclusionCullingData: {fileID: 0} ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 8 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 0 - m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 11 - m_GIWorkflowMode: 0 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 1 - m_EnableRealtimeLightmaps: 1 - m_LightmapEditorSettings: - serializedVersion: 9 - m_Resolution: 2 - m_BakeResolution: 40 - m_TextureWidth: 1024 - m_TextureHeight: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 0 - m_CompAOExponentDirect: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_FinalGather: 0 - m_FinalGatherFiltering: 1 - m_FinalGatherRayCount: 1024 - m_ReflectionCompression: 2 - m_MixedBakeMode: 1 - m_BakeBackend: 0 - m_PVRSampling: 1 - m_PVRDirectSampleCount: 32 - m_PVRSampleCount: 500 - m_PVRBounces: 2 - m_PVRFilterTypeDirect: 0 - m_PVRFilterTypeIndirect: 0 - m_PVRFilterTypeAO: 0 - m_PVRFilteringMode: 0 - m_PVRCulling: 1 - m_PVRFilteringGaussRadiusDirect: 1 - m_PVRFilteringGaussRadiusIndirect: 5 - m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousPositionSigmaDirect: 0.5 - m_PVRFilteringAtrousPositionSigmaIndirect: 2 - m_PVRFilteringAtrousPositionSigmaAO: 1 - m_ShowResolutionOverlay: 1 - m_LightingDataAsset: {fileID: 0} - m_UseShadowmask: 0 ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 2 - agentTypeID: 0 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - minRegionArea: 2 - manualCellSize: 0 - cellSize: 0.16666667 - manualTileSize: 0 - tileSize: 256 - accuratePlacement: 0 - debug: - m_Flags: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &219246379 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 219246384} - - component: {fileID: 219246383} - - component: {fileID: 219246382} - - component: {fileID: 219246381} - - component: {fileID: 219246380} - m_Layer: 0 - m_Name: Cube - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &219246380 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 219246379} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7dc07772f765d5940a941e577c49ec89, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: {x: 0, y: 10, z: 0} ---- !u!23 &219246381 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 219246379} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 5ca9a2fbfbfc53d44a97c503f5922258, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!65 &219246382 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 219246379} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &219246383 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 219246379} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &219246384 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 219246379} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1379564774 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1379564779} - - component: {fileID: 1379564778} - - component: {fileID: 1379564775} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &1379564775 -AudioListener: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1379564774} - m_Enabled: 1 ---- !u!20 &1379564778 -Camera: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1379564774} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 1, g: 1, b: 1, a: 0.019607844} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 0 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 0 - m_AllowMSAA: 1 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &1379564779 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1379564774} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -1.5, y: 1, z: -4.4} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1426998849 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1426998851} - - component: {fileID: 1426998850} - m_Layer: 0 - m_Name: Directional Light - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!108 &1426998850 -Light: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1426998849} - m_Enabled: 1 - serializedVersion: 8 - m_Type: 1 - m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} - m_Intensity: 1 - m_Range: 10 - m_SpotAngle: 30 - m_CookieSize: 10 - m_Shadows: - m_Type: 2 - m_Resolution: -1 - m_CustomResolution: -1 - m_Strength: 1 - m_Bias: 0.05 - m_NormalBias: 0.4 - m_NearPlane: 0.2 - m_Cookie: {fileID: 0} - m_DrawHalo: 0 - m_Flare: {fileID: 0} - m_RenderMode: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_Lightmapping: 4 - m_AreaSize: {x: 1, y: 1} - m_BounceIntensity: 1 - m_ColorTemperature: 6570 - m_UseColorTemperature: 0 - m_ShadowRadius: 0 - m_ShadowAngle: 0 ---- !u!4 &1426998851 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1426998849} - m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605} - m_LocalPosition: {x: 0, y: 3, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1494291838 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1494291842} - - component: {fileID: 1494291841} - - component: {fileID: 1494291840} - - component: {fileID: 1494291839} - m_Layer: 0 - m_Name: Plane - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!23 &1494291839 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1494291838} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!64 &1494291840 -MeshCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1494291838} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 3 - m_Convex: 0 - m_CookingOptions: 14 - m_SkinWidth: 0.01 - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!33 &1494291841 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1494291838} - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &1494291842 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1494291838} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: -1, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Example Mod/Assets/Spinner.cs b/Example Mod/Assets/Spinner.cs deleted file mode 100644 index 7c0d53e..0000000 --- a/Example Mod/Assets/Spinner.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine; -using ModTool.Interface; - -public class Spinner : MonoBehaviour -{ - public Vector3 speed; - - void Update() - { - transform.eulerAngles += speed * Time.deltaTime; - } -} diff --git a/Example Mod/ProjectSettings/GraphicsSettings.asset b/Example Mod/ProjectSettings/GraphicsSettings.asset deleted file mode 100644 index 9e432d1..0000000 --- a/Example Mod/ProjectSettings/GraphicsSettings.asset +++ /dev/null @@ -1,63 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!30 &1 -GraphicsSettings: - m_ObjectHideFlags: 0 - serializedVersion: 12 - m_Deferred: - m_Mode: 1 - m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} - m_DeferredReflections: - m_Mode: 1 - m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} - m_ScreenSpaceShadows: - m_Mode: 1 - m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} - m_LegacyDeferred: - m_Mode: 1 - m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} - m_DepthNormals: - m_Mode: 1 - m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} - m_MotionVectors: - m_Mode: 1 - m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} - m_LightHalo: - m_Mode: 1 - m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} - m_LensFlare: - m_Mode: 1 - m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} - m_AlwaysIncludedShaders: - - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} - m_PreloadedShaders: [] - m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, - type: 0} - m_CustomRenderPipeline: {fileID: 0} - m_TransparencySortMode: 0 - m_TransparencySortAxis: {x: 0, y: 0, z: 1} - m_DefaultRenderingPath: 1 - m_DefaultMobileRenderingPath: 1 - m_TierSettings: [] - m_LightmapStripping: 0 - m_FogStripping: 0 - m_InstancingStripping: 0 - m_LightmapKeepPlain: 1 - m_LightmapKeepDirCombined: 1 - m_LightmapKeepDynamicPlain: 1 - m_LightmapKeepDynamicDirCombined: 1 - m_LightmapKeepShadowMask: 1 - m_LightmapKeepSubtractive: 1 - m_FogKeepLinear: 1 - m_FogKeepExp: 1 - m_FogKeepExp2: 1 - m_AlbedoSwatchInfos: [] - m_LightsUseLinearIntensity: 0 - m_LightsUseColorTemperature: 0 diff --git a/Example Mod/ProjectSettings/UnityConnectSettings.asset b/Example Mod/ProjectSettings/UnityConnectSettings.asset deleted file mode 100644 index 1be4600..0000000 --- a/Example Mod/ProjectSettings/UnityConnectSettings.asset +++ /dev/null @@ -1,34 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!310 &1 -UnityConnectSettings: - m_ObjectHideFlags: 0 - m_Enabled: 1 - m_TestMode: 0 - m_TestEventUrl: - m_TestConfigUrl: - m_TestInitMode: 0 - CrashReportingSettings: - m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes - m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate - m_Enabled: 0 - m_CaptureEditorExceptions: 1 - UnityPurchasingSettings: - m_Enabled: 0 - m_TestMode: 0 - UnityAnalyticsSettings: - m_Enabled: 0 - m_InitializeOnStartup: 1 - m_TestMode: 0 - m_TestEventUrl: - m_TestConfigUrl: - UnityAdsSettings: - m_Enabled: 0 - m_InitializeOnStartup: 1 - m_TestMode: 0 - m_IosGameId: - m_AndroidGameId: - m_GameIds: {} - m_GameId: - PerformanceReportingSettings: - m_Enabled: 0 diff --git a/Example/.gitignore b/Example/.gitignore deleted file mode 100644 index b42140a..0000000 --- a/Example/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# =============== # -# Unity generated # -# =============== # -/[Ll]ibrary/ -/[Tt]emp/ -/[Oo]bj/ -/[Bb]uild/ -/[Bb]uilds/ -/Assets/AssetStoreTools* -sysinfo.txt -*.stackdump - -# ============================================= # -# Visual Studio / MonoDevelop / Rider generated # -# ============================================= # -[Ee]xported[Oo]bj/ -.vs/ -/*.userprefs -/*.csproj -/*.pidb -/*.suo -/*.sln* -/*.user -/*.unityproj -/*.booproj -/.idea*/ - -# ============ # -# OS generated # -# ============ # -.DS_Store* -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -[Tt]humbs.db -[Dd]esktop.ini \ No newline at end of file diff --git a/Example/Assets/ModTool/Change log.txt b/Example/Assets/ModTool/Change log.txt deleted file mode 100644 index d134458..0000000 --- a/Example/Assets/ModTool/Change log.txt +++ /dev/null @@ -1,13 +0,0 @@ -Version 2.0: -This version brings many breaking changes. Redundant features have been removed and most other features have been completely reworked. --Added shared assets --Added shared packages --Improved exporter creation --Improved mod export process --Improved mod object management --removed ModBehaviour and related classes --Simplified mod loading --Added Resource.errors --Removed API Assemblies --ModManager no longer refreshes by default --And more... \ No newline at end of file diff --git a/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll b/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll deleted file mode 100644 index 30068cc..0000000 Binary files a/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.dll and /dev/null differ diff --git a/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.xml b/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.xml deleted file mode 100644 index 5d0937a..0000000 --- a/Example/Assets/ModTool/Editor/ModTool.Editor.Exporting.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - ModTool.Editor.Exporting - - - - - Extension methods for ModPlatform. - - - - - Does this ModPlatform include the equivalent BuildTarget? - - A ModPlatform instance. - The BuildTarget to check. - True if the ModPlatform has the BuildTarget. - - - - Get the ModPlatform equivalent to this BuildTarget - - A BuildTarget instance. - The equivalent ModPlatform. - - - - Get a list of BuildTargets that are equivalent to this ModPlatform. - - A ModPlatform Instance. - A list with equivalent BuildTargets - - - - Class that stores data during the exporting process. - - - - - Stores the exporter's settings. - - - - - The Mod's name. - - - - - The Mod's author. - - - - - The Mod's description. - - - - - The Mod's version. - - - - - The selected platforms for which this mod will be exported. - - - - - The selected content types that will be exported. - - - - - The directory to which the Mod will be exported. - - - - - Main class for exporting a project as a mod. - - - - - Occurs when the export process is starting. - - - - - Occurs after the export process is completed. - - - - - Is this ModExporter currently exporting a Mod? - - - - - Start exporting a Mod. - - - - - Installs packages that are configured in the exporter package. - - - - - Install any shared packages that are currently not installed. - - - - diff --git a/Example/Assets/ModTool/Editor/ModTool.Editor.dll b/Example/Assets/ModTool/Editor/ModTool.Editor.dll deleted file mode 100644 index 24d68fe..0000000 Binary files a/Example/Assets/ModTool/Editor/ModTool.Editor.dll and /dev/null differ diff --git a/Example/Assets/ModTool/Editor/ModTool.Editor.xml b/Example/Assets/ModTool/Editor/ModTool.Editor.xml deleted file mode 100644 index 7d9453b..0000000 --- a/Example/Assets/ModTool/Editor/ModTool.Editor.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - ModTool.Editor - - - - - A window for selecting shared assets. - - - - - Create a mod exporter package for this game. - - - - - Create a mod exporter package after building the game. - - - - - A window for selecting shared packages. - - - - - Open A selection window. - - - - - ModTool's settings window. - - - - - Open ModTool's settings window. - - - - diff --git a/Example/Assets/ModTool/ModTool 2.0 Documentation.chm b/Example/Assets/ModTool/ModTool 2.0 Documentation.chm deleted file mode 100644 index 31d9336..0000000 Binary files a/Example/Assets/ModTool/ModTool 2.0 Documentation.chm and /dev/null differ diff --git a/Example/Assets/ModTool/ModTool 2.0 Documentation.pdf b/Example/Assets/ModTool/ModTool 2.0 Documentation.pdf deleted file mode 100644 index b9109a4..0000000 Binary files a/Example/Assets/ModTool/ModTool 2.0 Documentation.pdf and /dev/null differ diff --git a/Example/Assets/ModTool/ModTool.Interface.dll b/Example/Assets/ModTool/ModTool.Interface.dll deleted file mode 100644 index 744f26d..0000000 Binary files a/Example/Assets/ModTool/ModTool.Interface.dll and /dev/null differ diff --git a/Example/Assets/ModTool/ModTool.Interface.xml b/Example/Assets/ModTool/ModTool.Interface.xml deleted file mode 100644 index d0d1ed3..0000000 --- a/Example/Assets/ModTool/ModTool.Interface.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - ModTool.Interface - - - - - Interface to be implemented by mods that wish to receive OnLoaded and OnUnloaded calls. - Non-UnityEngine.Object types that implement this interface will be instantiated when the Mod loads. - - - - - Called when the Mod is loaded. - - - - - Called when the Mod is unloaded. - - - - diff --git a/Example/Assets/ModTool/ModTool.Shared.dll b/Example/Assets/ModTool/ModTool.Shared.dll deleted file mode 100644 index 0002edc..0000000 Binary files a/Example/Assets/ModTool/ModTool.Shared.dll and /dev/null differ diff --git a/Example/Assets/ModTool/ModTool.Shared.xml b/Example/Assets/ModTool/ModTool.Shared.xml deleted file mode 100644 index b34679e..0000000 --- a/Example/Assets/ModTool/ModTool.Shared.xml +++ /dev/null @@ -1,482 +0,0 @@ - - - - ModTool.Shared - - - - - Stores settings related to code verification for Mods. - - - - - Restrictions related to inheritance of Types inside Mod Assemblies. - - - - - Restrictions related to the use of fields, properties and methods from other types. - - - - - Restrictions related to the use of Types for fields and properties. - - - - - Restrictions related to the use of entire namespaces. - - - - - Filter level for logging messages to the console or log file. - - - - - A class for logging filtered messages. - - - - - Log a debug message. - - The debug message. - - - - Log a message. - - The message. - - - - Log a warning. - - The warning message. - - - - Log an error. - - The error message - - - - Log an exception. - - The exception - - - - Extension methods for enums. - - - - - Unity's enum mask fields sets all bits to 1. This sets all unused bits to 0, so it can be converted to a string and serialized properly. - - An enum instance. - A fixed enum. - - - - Extension methods for strings. - - - - - Returns a normalized version of a path. - - A string. - A normalized version of a path. - - - - Extension methods for Mono.Cecil. - - - - - Is this Type a subclass of the other Type? - - A TypeDefinition. - A Type's full name. - True if this TypeDefinition is a subclass of the Type. - - - - Get the Type's name including the Type's namespace. - - - - - - - Get the Member's name including the declaring Type's full name. - - - - - - - Flags for different types of content that can be included in a Mod. - - - - - Class that stores a Mod's name, author, description, version, path and supported platforms. - - - - - Name - - - - - Supported platforms for this mod. - - - - - The Mod's available content types. - - - - - Mod author. - - - - - Mod description. - - - - - Mod version. - - - - - The version of Unity that was used to export this mod. - - - - - Should this mod be enabled. - - - - - Location of mod - - - - - Initialize a new ModInfo. - - The Mod's name. - The Mod's author. - The Mod's description. - The Mod's supported platforms. - The Mod's available content types. - The Mod's version - The version of Unity that the Mod was exported with. - - - - Save this ModInfo. - - - - - Save a ModInfo. - - The path to save the ModInfo to. - The ModInfo to save. - - - - Load a ModInfo. - - The path to load the ModInfo from. - The loaded Modinfo, if succeeded. Null otherwise. - - - - Represents a platform or a combination of platforms. - - - - - Extension methods for ModPlatform. - - - - - Does this ModPlatform include the equivalent RuntimePlatform? - - A ModPlatform instance. - A RuntimePlatform. - True if the ModPlatform includes the equivalent RuntimePlatform. - - - - Get the equivalent ModPlatform for this RuntimePlatform. - - A RuntimePlatform. - The equivalent ModPlatform. - - - - Get a list of the equivalent RuntimePlatforms for this ModPlatform - - A ModPlatform instance. - A List of equivalent RuntimePlatforms. - - - - Class for storing general ModTool settings. - - - - - The product name for the project. - - - - - The unity version of the project. - - - - - The supported platforms for the project. - - - - - The types of content that are supported for the project. - - - - - ModTool's log level. - - - - - List of assets that are shared with mods. - - - - - List of packages that are shared with mods. - - - - - A class for verifying Assembly files based on a number of Restrictions. - - - - - Initialize an AssemblyVerifier with a specified IAssemblyResolver. - - - - - - Verify a collection of assemblies. - - A list of assembly file paths. - List of messages from failed restrictions. - - - - Verify an assembly. - - The file path of the assembly. - List of messages from failed restrictions. - - - - Base class for restrictions. A restriction either requires or prohibits something. - - - - - The message to use when this restriction causes the verification to fail. - - - - - The base type to which the Restriction will be applied. - - - - - Does the Restriction require or prohibit the use of something? - - - - - Initialize a new Restriction. - - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Verify a member with this Restriction. - - A member. - A list of messages of failed Restrictions. - - - - Is the Restriction present in the member? - - A member. - True if the Restriction is present in the member. - - - - Is the restriction present in a local variable? - - A local variable - True if the restriction is present in the local variable. - - - - Get a Restriction message for a MemberReference. - - - - - - - Is this Restriction applicable to the member? - - A member. - True if the Restriction is applicable. - - - - Is this Restriction applicable to the Type? - - A Type. - True if the Restriction is applicable. - - - - A restriction that either requires or prohibits the use of a namespace. - - - - - The namespace that will be checked for this restriction. - - - - - Should nested namespaces be restricted as well? - - - - - Initialize a new NamespaceRestriction - - The namespace that will be checked for this restriction. - Should nested namespaces be restricted as well? - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - A restriction that either requires or prohibits the use of a Type - - - - - The Type that will be checked for this Restriction. - - - - - Initialize a new TypeRestriction. - - The Type that will be checked for this Restriction. - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - A restriction that either requires or prohibits inheritance from a class - - - - - The Type that will be checked for this Restriction. - - - - - Initialize a new InheritanceRestriction. - - The Type that will be checked for this Restriction - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Type for applying Restrictions. - - - - - A restriction that either requires or prohibits the use of a given Type's member - - - - - The member that will be checked for this Restriction. - - - - - Initialize a new MemberRestriction. - - The member that will be checked for this Restriction. - The base Type this Restriction will apply to. - The Message that will be shown upon failing the Restriction. - Should it be required or prohibited? - - - - Utility for finding Assemblies. - - - - - Is an assembly shared with the mod exporter? - - The assembly's file path. - True if an assembly is shared with the mod exporter. - - - - A singleton class for ScriptableObjecs, which stores itself as an asset in a Resources folder. - - - - - diff --git a/Example/Assets/ModTool/ModTool.dll b/Example/Assets/ModTool/ModTool.dll deleted file mode 100644 index 522610f..0000000 Binary files a/Example/Assets/ModTool/ModTool.dll and /dev/null differ diff --git a/Example/Assets/ModTool/ModTool.xml b/Example/Assets/ModTool/ModTool.xml deleted file mode 100644 index c5ae47c..0000000 --- a/Example/Assets/ModTool/ModTool.xml +++ /dev/null @@ -1,628 +0,0 @@ - - - - ModTool - - - - - Dispatcher for running Coroutines and Actions on the main Thread. - - - - - Enqueue an action on the main Thread. - - The action. - If we already are on the main thread, enqueue and delay the call anyways. - - - - Starts a coroutine. - - - - - - - Stops a coroutine. - - - - - - Provides functionality to find and keep track of Mods. - - - - - Occurs when the collection of Mods has changed. - - - - - Occurs when a Mod has been found. - - - - - Occurs when a Mod has been removed. The Mod will be marked invalid. - - - - - Occurs when a Mod has been loaded - - - - - Occurs when a Mod has been Unloaded - - - - - Default directory that will be searched for mods. - - - - - All mods that have currently been found in all search directories. - - - - - Refresh all search directories and update any new, changed or removed Mods. - - - - - Add a directory that will be searched for Mods - - The path of the search directory. - - - - Remove a directory that will be searched for mods - - The path of the search directory. - - - - The ObjectManager keeps track of the objects that are instantiated by Mods. - - - - - Instantiate an object and associate it with a mod. - - An existing object that you want to make a copy of. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - An existing object that you want to make a copy of. - Parent that will be assigned to the new object. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - An existing object that you want to make a copy of. - Parent that will be assigned to the new object. - When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - An existing object that you want to make a copy of. - Position for the new object. - Orientation of the new object. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - An existing object that you want to make a copy of. - Position for the new object. - Orientation of the new object. - Parent that will be assigned to the new object. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - The type of the object. - An existing object that you want to make a copy of. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - The type of the object. - An existing object that you want to make a copy of. - Parent that will be assigned to the new object. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - The type of the object. - An existing object that you want to make a copy of. - Parent that will be assigned to the new object. - When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - The type of the object. - An existing object that you want to make a copy of. - Position for the new object. - Orientation of the new object. - The name of the mod. - The instantiated copy. - - - - Instantiate an object and associate it with a mod. - - - An existing object that you want to make a copy of. - Position for the new object. - Orientation of the new object. - Parent that will be assigned to the new object. - The name of the mod. - - - - - Create a new GameObject and associate it with a mod. - - The name of the mod. - The created GameObject. - - - - Create a new GameObject and associate it with a mod. - - The name of the GameObject. - The name of the mod. - The created GameObject. - - - - Create a new GameObject and associate it with a mod. - - The name of the GameObject. - The name of the mod. - An array of component types to add to the GameObject. - The created GameObject. - - - - Represents the load state of a Resource. - - - - - The resource is unloaded. - - - - - The resource is loading. - - - - - The resource is fully loaded. - - - - - The resource is unloading. - - - - - A class that supports async loading of various resources. - - Self referencing type of Resource - - - - Occurs when the resource has completed loading. - - - - - Occurs when the resource has completed unloading. - - - - - Make a new resource with a name. - - - - - - A class that supports async loading of various resources. - - - - - Occurs when the resource has completed loading. - - - - - Occurs when the resource has completed unloading. - - - - - The current load state of the resource. - - - - - The resource's name. - - - - - Can this resource currently be loaded? - - - - - A value representing the loading progress ranging from 0 to 1. - - - - - A collection of error messages related to this resource. - - - - - Load this resource. - - - - - Unload this resource. - - - - - Use this to implement a process to load resources. - - - - - - Use this to implement a process to unload resources. - - - - - - Represents a directory that is monitored for Mods. - - - - - Occurs when a new Mod has been found. - - - - - Occurs when a Mod has been removed. - - - - - Occurs when a change to a Mod's directory has been detected. - - - - - Occurs when any change was detected for any Mod in this search directory. - - - - - This ModSearchDirectory's path. - - - - - Initialize a new ModSearchDirectory with a path. - - The path to the search directory. - - - - Refresh the collection of mod paths. Remove all missing paths and add all new paths. - - - - - Releases all resources used by the ModSearchDirectory. - - - - - A Mod lets you load scenes, assets and code that have been exported with the game's Mod exporter. - - - - - This mod's ModInfo. - - - - - Types of content included in this Mod. - - - - - Collection of Mods that are in conflict with this Mod. - - - - - Collection of names of Assemblies included in this Mod. - - - - - Collection of names of Scenes included in this Mod. - - - - - Collection of paths of assets included in this Mod. - - - - - Collection of ModScenes included in this Mod. - - - - - Collection of loaded prefabs included in this Mod when the mod is loaded. - - - - - Is the mod valid? A Mod becomes invalid when it is removed from the ModManager, - when any of its resources can't be loaded or are missing. - - - - - Keeps track of which Mods to enable or disable. - This property does not affect what you can do with a Mod; a Mod that is not enabled can still be loaded. - - - - - Can this mod be loaded? False if a conflicting mod is loaded or if the mod is not valid - - - - - Initialize a new Mod with a ModInfo file path. - - The path to a ModInfo file - - - - Update this Mod's conflicting Mods with the supplied Mod - - Another Mod - - - - Update this Mod's conflicting Mods with the supplied Mods - - A collection of Mods - - - - Is another conflicting Mod loaded? - - True if another conflicting mod is loaded - - - - Is another conflicting Mod enabled? - - True if another conflicting mod is enabled - - - - Invalidate the mod - - - - - Get an asset with name. - - The asset's name. - The asset if it has been found. Null otherwise - - - - Get an asset with name of a certain Type. - - The asset's name. - The asset Type. - The asset if it has been found. Null otherwise - - - - Get all assets of a certain Type. - - The asset Type. - AssetBundleRequest that can be used to get the asset. - - - - Get an asset with name of a certain Type. - - The asset's name. - The asset's Type - AssetBundleRequest that can be used to get the asset. - - - - Get all assets of a certain Type. - - The asset Type. - AssetBundleRequest that can be used to get the assets. - - - - Get all Components of type T in all prefabs - - The Component that will be looked for. - An array of found Components of Type T. - - - - Get all Components of type T in all prefabs. - - The Component that will be looked for. - A List that will be populated with the found Components. - - - - Get all Components of type T in all loaded ModScenes. - - The Component that will be looked for. - An array of found Components of Type T. - - - - Get all Components of type T in all loaded ModScenes. - - The Component that will be looked for. - A List that will be populated with the found Components. - - - - Get instances of all non-UnityEngine.Object Types included in the Mod that implement or derive from Type T. - Reuses existing instances and creates new instances for Types that have no instance yet. - - The Type that will be looked for - Optional arguments for the Type's constructor - A List of Instances of Types that implement or derive from Type T - - - - Represents a Scene that is included in a Mod. - - - - - This ModScene's Scene. - - - - - The Mod this scene belongs to. - - - - - Can the scene be loaded? False if this scene's Mod is not loaded. - - - - - Initialize a new ModScene with a Scene name and a Mod - - The scene's name - The Mod this ModScene belongs to. - - - - Set this ModScene's Scene as the active scene. - - - - - Returns the first Component of type T in this Scene. - - The Component that will be looked for. - An array of found Components of Type T. - - - - Returns all Components of type T in this Scene. - - The Component that will be looked for. - An array of found Components of Type T. - - - - Returns all Components of type T in this Scene. - - The Component that will be looked for. - A List that will be filled with found Components. - - - - Extensions for the Scene class. - - - - - Get a Component of Type T in this Scene. Returns the first found Component. - - A Type that derives from Component - A Scene instance. - A Component of Type T or null if none is found. - - - - Get all components of Type T in this Scene. - - A Type that derives from Component. - A Scene instance. - An array of found Components of Type T. - - - - Get all Components of type componentType in this Scene. - - A Type that derives from Component - A Scene instance. - A List to populate with the found Components. - - - diff --git a/Example/Assets/ModTool/Mono.Cecil/LICENSE.txt b/Example/Assets/ModTool/Mono.Cecil/LICENSE.txt deleted file mode 100644 index afd0ae6..0000000 --- a/Example/Assets/ModTool/Mono.Cecil/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) 2008 - 2015 Jb Evain -Copyright (c) 2008 - 2011 Novell, Inc. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Example/Assets/ModTool/Mono.Cecil/ModTool.Cecil.dll b/Example/Assets/ModTool/Mono.Cecil/ModTool.Cecil.dll deleted file mode 100644 index ff54790..0000000 Binary files a/Example/Assets/ModTool/Mono.Cecil/ModTool.Cecil.dll and /dev/null differ diff --git a/Example/Assets/ModTool/Resources/CodeSettings.asset b/Example/Assets/ModTool/Resources/CodeSettings.asset deleted file mode 100644 index ff819f3..0000000 --- a/Example/Assets/ModTool/Resources/CodeSettings.asset +++ /dev/null @@ -1,31 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 562734972, guid: b981ac5fea65cbf46ab728daad9c9206, type: 3} - m_Name: CodeSettings - m_EditorClassIdentifier: - _inheritanceRestrictions: [] - _memberRestrictions: - - message: - targetType: - restrictionMode: 0 - member: - _typeRestrictions: [] - _namespaceRestrictions: - - message: Reflection is not allowed. - targetType: - restrictionMode: 0 - nameSpace: System.Reflection - includeNested: 1 - - message: IO is not allowed. - targetType: - restrictionMode: 0 - nameSpace: System.IO - includeNested: 1 diff --git a/Example/Example Mod Tools.unitypackage b/Example/Example Mod Tools.unitypackage deleted file mode 100644 index 1c4ad76..0000000 Binary files a/Example/Example Mod Tools.unitypackage and /dev/null differ diff --git a/Example/ProjectSettings/AudioManager.asset b/Example/ProjectSettings/AudioManager.asset deleted file mode 100644 index da61125..0000000 --- a/Example/ProjectSettings/AudioManager.asset +++ /dev/null @@ -1,17 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!11 &1 -AudioManager: - m_ObjectHideFlags: 0 - m_Volume: 1 - Rolloff Scale: 1 - Doppler Factor: 1 - Default Speaker Mode: 2 - m_SampleRate: 0 - m_DSPBufferSize: 0 - m_VirtualVoiceCount: 512 - m_RealVoiceCount: 32 - m_SpatializerPlugin: - m_AmbisonicDecoderPlugin: - m_DisableAudio: 0 - m_VirtualizeEffects: 1 diff --git a/Example/ProjectSettings/ClusterInputManager.asset b/Example/ProjectSettings/ClusterInputManager.asset deleted file mode 100644 index e7886b2..0000000 --- a/Example/ProjectSettings/ClusterInputManager.asset +++ /dev/null @@ -1,6 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!236 &1 -ClusterInputManager: - m_ObjectHideFlags: 0 - m_Inputs: [] diff --git a/Example/ProjectSettings/DynamicsManager.asset b/Example/ProjectSettings/DynamicsManager.asset deleted file mode 100644 index 78992f0..0000000 --- a/Example/ProjectSettings/DynamicsManager.asset +++ /dev/null @@ -1,29 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!55 &1 -PhysicsManager: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_Gravity: {x: 0, y: -9.81, z: 0} - m_DefaultMaterial: {fileID: 0} - m_BounceThreshold: 2 - m_SleepThreshold: 0.005 - m_DefaultContactOffset: 0.01 - m_DefaultSolverIterations: 6 - m_DefaultSolverVelocityIterations: 1 - m_QueriesHitBackfaces: 0 - m_QueriesHitTriggers: 1 - m_EnableAdaptiveForce: 0 - m_ClothInterCollisionDistance: 0 - m_ClothInterCollisionStiffness: 0 - m_ContactsGeneration: 1 - m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff - m_AutoSimulation: 1 - m_AutoSyncTransforms: 1 - m_ClothInterCollisionSettingsToggle: 0 - m_ContactPairsMode: 0 - m_BroadphaseType: 0 - m_WorldBounds: - m_Center: {x: 0, y: 0, z: 0} - m_Extent: {x: 250, y: 250, z: 250} - m_WorldSubdivisions: 8 diff --git a/Example/ProjectSettings/EditorBuildSettings.asset b/Example/ProjectSettings/EditorBuildSettings.asset deleted file mode 100644 index 6dc24f7..0000000 --- a/Example/ProjectSettings/EditorBuildSettings.asset +++ /dev/null @@ -1,7 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1045 &1 -EditorBuildSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Scenes: [] diff --git a/Example/ProjectSettings/EditorSettings.asset b/Example/ProjectSettings/EditorSettings.asset deleted file mode 100644 index 7b42695..0000000 --- a/Example/ProjectSettings/EditorSettings.asset +++ /dev/null @@ -1,21 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!159 &1 -EditorSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_ExternalVersionControlSupport: Hidden Meta Files - m_SerializationMode: 2 - m_LineEndingsForNewScripts: 2 - m_DefaultBehaviorMode: 0 - m_SpritePackerMode: 0 - m_SpritePackerPaddingPower: 1 - m_EtcTextureCompressorBehavior: 1 - m_EtcTextureFastCompressor: 1 - m_EtcTextureNormalCompressor: 2 - m_EtcTextureBestCompressor: 4 - m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp - m_ProjectGenerationRootNamespace: - m_UserGeneratedProjectSuffix: - m_CollabEditorSettings: - inProgressEnabled: 1 diff --git a/Example/ProjectSettings/InputManager.asset b/Example/ProjectSettings/InputManager.asset deleted file mode 100644 index 17c8f53..0000000 --- a/Example/ProjectSettings/InputManager.asset +++ /dev/null @@ -1,295 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!13 &1 -InputManager: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Axes: - - serializedVersion: 3 - m_Name: Horizontal - descriptiveName: - descriptiveNegativeName: - negativeButton: left - positiveButton: right - altNegativeButton: a - altPositiveButton: d - gravity: 3 - dead: 0.001 - sensitivity: 3 - snap: 1 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Vertical - descriptiveName: - descriptiveNegativeName: - negativeButton: down - positiveButton: up - altNegativeButton: s - altPositiveButton: w - gravity: 3 - dead: 0.001 - sensitivity: 3 - snap: 1 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire1 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left ctrl - altNegativeButton: - altPositiveButton: mouse 0 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left alt - altNegativeButton: - altPositiveButton: mouse 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left shift - altNegativeButton: - altPositiveButton: mouse 2 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Jump - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: space - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse X - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse Y - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 1 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse ScrollWheel - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 2 - joyNum: 0 - - serializedVersion: 3 - m_Name: Horizontal - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0.19 - sensitivity: 1 - snap: 0 - invert: 0 - type: 2 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Vertical - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0.19 - sensitivity: 1 - snap: 0 - invert: 1 - type: 2 - axis: 1 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire1 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 0 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 1 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 2 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Jump - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 3 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: return - altNegativeButton: - altPositiveButton: joystick button 0 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: enter - altNegativeButton: - altPositiveButton: space - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Cancel - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: escape - altNegativeButton: - altPositiveButton: joystick button 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 diff --git a/Example/ProjectSettings/NavMeshAreas.asset b/Example/ProjectSettings/NavMeshAreas.asset deleted file mode 100644 index 3b0b7c3..0000000 --- a/Example/ProjectSettings/NavMeshAreas.asset +++ /dev/null @@ -1,91 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!126 &1 -NavMeshProjectSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - areas: - - name: Walkable - cost: 1 - - name: Not Walkable - cost: 1 - - name: Jump - cost: 2 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - m_LastAgentTypeID: -887442657 - m_Settings: - - serializedVersion: 2 - agentTypeID: 0 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.75 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - minRegionArea: 2 - manualCellSize: 0 - cellSize: 0.16666667 - manualTileSize: 0 - tileSize: 256 - accuratePlacement: 0 - debug: - m_Flags: 0 - m_SettingNames: - - Humanoid diff --git a/Example/ProjectSettings/NetworkManager.asset b/Example/ProjectSettings/NetworkManager.asset deleted file mode 100644 index 5dc6a83..0000000 --- a/Example/ProjectSettings/NetworkManager.asset +++ /dev/null @@ -1,8 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!149 &1 -NetworkManager: - m_ObjectHideFlags: 0 - m_DebugLevel: 0 - m_Sendrate: 15 - m_AssetToPrefab: {} diff --git a/Example/ProjectSettings/Physics2DSettings.asset b/Example/ProjectSettings/Physics2DSettings.asset deleted file mode 100644 index 132ee6b..0000000 --- a/Example/ProjectSettings/Physics2DSettings.asset +++ /dev/null @@ -1,37 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!19 &1 -Physics2DSettings: - m_ObjectHideFlags: 0 - serializedVersion: 3 - m_Gravity: {x: 0, y: -9.81} - m_DefaultMaterial: {fileID: 0} - m_VelocityIterations: 8 - m_PositionIterations: 3 - m_VelocityThreshold: 1 - m_MaxLinearCorrection: 0.2 - m_MaxAngularCorrection: 8 - m_MaxTranslationSpeed: 100 - m_MaxRotationSpeed: 360 - m_BaumgarteScale: 0.2 - m_BaumgarteTimeOfImpactScale: 0.75 - m_TimeToSleep: 0.5 - m_LinearSleepTolerance: 0.01 - m_AngularSleepTolerance: 2 - m_DefaultContactOffset: 0.01 - m_AutoSimulation: 1 - m_QueriesHitTriggers: 1 - m_QueriesStartInColliders: 1 - m_ChangeStopsCallbacks: 0 - m_CallbacksOnDisable: 1 - m_AutoSyncTransforms: 1 - m_AlwaysShowColliders: 0 - m_ShowColliderSleep: 1 - m_ShowColliderContacts: 0 - m_ShowColliderAABB: 0 - m_ContactArrowScale: 0.2 - m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} - m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} - m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} - m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} - m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/Example/ProjectSettings/ProjectSettings.asset b/Example/ProjectSettings/ProjectSettings.asset deleted file mode 100644 index 0291bf7..0000000 --- a/Example/ProjectSettings/ProjectSettings.asset +++ /dev/null @@ -1,646 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!129 &1 -PlayerSettings: - m_ObjectHideFlags: 0 - serializedVersion: 18 - productGUID: 16b9da7b0a7c03f4f817312a88fd7b0a - AndroidProfiler: 0 - AndroidFilterTouchesWhenObscured: 0 - defaultScreenOrientation: 4 - targetDevice: 2 - useOnDemandResources: 0 - accelerometerFrequency: 60 - companyName: HelloMeow - productName: Example - defaultCursor: {fileID: 0} - cursorHotspot: {x: 0, y: 0} - m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} - m_ShowUnitySplashScreen: 1 - m_ShowUnitySplashLogo: 1 - m_SplashScreenOverlayOpacity: 1 - m_SplashScreenAnimation: 1 - m_SplashScreenLogoStyle: 1 - m_SplashScreenDrawMode: 0 - m_SplashScreenBackgroundAnimationZoom: 1 - m_SplashScreenLogoAnimationZoom: 1 - m_SplashScreenBackgroundLandscapeAspect: 1 - m_SplashScreenBackgroundPortraitAspect: 1 - m_SplashScreenBackgroundLandscapeUvs: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - m_SplashScreenBackgroundPortraitUvs: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - m_SplashScreenLogos: [] - m_VirtualRealitySplashScreen: {fileID: 0} - m_HolographicTrackingLossScreen: {fileID: 0} - defaultScreenWidth: 1024 - defaultScreenHeight: 768 - defaultScreenWidthWeb: 960 - defaultScreenHeightWeb: 600 - m_StereoRenderingPath: 0 - m_ActiveColorSpace: 0 - m_MTRendering: 1 - m_StackTraceTypes: 010000000100000001000000010000000100000001000000 - iosShowActivityIndicatorOnLoading: -1 - androidShowActivityIndicatorOnLoading: -1 - tizenShowActivityIndicatorOnLoading: -1 - displayResolutionDialog: 1 - iosUseCustomAppBackgroundBehavior: 0 - iosAllowHTTPDownload: 1 - allowedAutorotateToPortrait: 1 - allowedAutorotateToPortraitUpsideDown: 1 - allowedAutorotateToLandscapeRight: 1 - allowedAutorotateToLandscapeLeft: 1 - useOSAutorotation: 1 - use32BitDisplayBuffer: 1 - preserveFramebufferAlpha: 0 - disableDepthAndStencilBuffers: 0 - androidBlitType: 0 - defaultIsFullScreen: 1 - defaultIsNativeResolution: 1 - macRetinaSupport: 1 - runInBackground: 0 - captureSingleScreen: 0 - muteOtherAudioSources: 0 - Prepare IOS For Recording: 0 - Force IOS Speakers When Recording: 0 - deferSystemGesturesMode: 0 - hideHomeButton: 0 - submitAnalytics: 1 - usePlayerLog: 1 - bakeCollisionMeshes: 0 - forceSingleInstance: 0 - resizableWindow: 0 - useMacAppStoreValidation: 0 - macAppStoreCategory: public.app-category.games - gpuSkinning: 0 - graphicsJobs: 0 - xboxPIXTextureCapture: 0 - xboxEnableAvatar: 0 - xboxEnableKinect: 0 - xboxEnableKinectAutoTracking: 0 - xboxEnableFitness: 0 - visibleInBackground: 1 - allowFullscreenSwitch: 1 - graphicsJobMode: 0 - macFullscreenMode: 2 - d3d11FullscreenMode: 1 - xboxSpeechDB: 0 - xboxEnableHeadOrientation: 0 - xboxEnableGuest: 0 - xboxEnablePIXSampling: 0 - metalFramebufferOnly: 0 - n3dsDisableStereoscopicView: 0 - n3dsEnableSharedListOpt: 1 - n3dsEnableVSync: 0 - xboxOneResolution: 0 - xboxOneSResolution: 0 - xboxOneXResolution: 3 - xboxOneMonoLoggingLevel: 0 - xboxOneLoggingLevel: 1 - xboxOneDisableEsram: 0 - xboxOnePresentImmediateThreshold: 0 - videoMemoryForVertexBuffers: 0 - psp2PowerMode: 0 - psp2AcquireBGM: 1 - wiiUTVResolution: 0 - wiiUGamePadMSAA: 1 - wiiUSupportsNunchuk: 0 - wiiUSupportsClassicController: 0 - wiiUSupportsBalanceBoard: 0 - wiiUSupportsMotionPlus: 0 - wiiUSupportsProController: 0 - wiiUAllowScreenCapture: 1 - wiiUControllerCount: 0 - m_SupportedAspectRatios: - 4:3: 1 - 5:4: 1 - 16:10: 1 - 16:9: 1 - Others: 1 - bundleVersion: 1.0 - preloadedAssets: [] - metroInputSource: 0 - wsaTransparentSwapchain: 0 - m_HolographicPauseOnTrackingLoss: 1 - xboxOneDisableKinectGpuReservation: 0 - xboxOneEnable7thCore: 0 - vrSettings: - cardboard: - depthFormat: 0 - enableTransitionView: 0 - daydream: - depthFormat: 0 - useSustainedPerformanceMode: 0 - enableVideoLayer: 0 - useProtectedVideoMemory: 0 - minimumSupportedHeadTracking: 0 - maximumSupportedHeadTracking: 1 - hololens: - depthFormat: 1 - depthBufferSharingEnabled: 0 - oculus: - sharedDepthBuffer: 0 - dashSupport: 0 - v2Signing: 0 - protectGraphicsMemory: 0 - useHDRDisplay: 0 - m_ColorGamuts: 00000000 - targetPixelDensity: 30 - resolutionScalingMode: 0 - androidSupportedAspectRatio: 1 - androidMaxAspectRatio: 2.1 - applicationIdentifier: - Android: com.HelloMeow.Example - Standalone: com.HelloMeow.Example - buildNumber: {} - AndroidBundleVersionCode: 1 - AndroidMinSdkVersion: 16 - AndroidTargetSdkVersion: 0 - AndroidPreferredInstallLocation: 1 - aotOptions: - stripEngineCode: 1 - iPhoneStrippingLevel: 0 - iPhoneScriptCallOptimization: 0 - ForceInternetPermission: 0 - ForceSDCardPermission: 1 - CreateWallpaper: 0 - APKExpansionFiles: 0 - keepLoadedShadersAlive: 0 - StripUnusedMeshComponents: 0 - VertexChannelCompressionMask: - serializedVersion: 2 - m_Bits: 238 - iPhoneSdkVersion: 988 - iOSTargetOSVersionString: 7.0 - tvOSSdkVersion: 0 - tvOSRequireExtendedGameController: 0 - tvOSTargetOSVersionString: 9.0 - uIPrerenderedIcon: 0 - uIRequiresPersistentWiFi: 0 - uIRequiresFullScreen: 1 - uIStatusBarHidden: 1 - uIExitOnSuspend: 0 - uIStatusBarStyle: 0 - iPhoneSplashScreen: {fileID: 0} - iPhoneHighResSplashScreen: {fileID: 0} - iPhoneTallHighResSplashScreen: {fileID: 0} - iPhone47inSplashScreen: {fileID: 0} - iPhone55inPortraitSplashScreen: {fileID: 0} - iPhone55inLandscapeSplashScreen: {fileID: 0} - iPhone58inPortraitSplashScreen: {fileID: 0} - iPhone58inLandscapeSplashScreen: {fileID: 0} - iPadPortraitSplashScreen: {fileID: 0} - iPadHighResPortraitSplashScreen: {fileID: 0} - iPadLandscapeSplashScreen: {fileID: 0} - iPadHighResLandscapeSplashScreen: {fileID: 0} - appleTVSplashScreen: {fileID: 0} - appleTVSplashScreen2x: {fileID: 0} - tvOSSmallIconLayers: [] - tvOSSmallIconLayers2x: [] - tvOSLargeIconLayers: [] - tvOSTopShelfImageLayers: [] - tvOSTopShelfImageLayers2x: [] - tvOSTopShelfImageWideLayers: [] - tvOSTopShelfImageWideLayers2x: [] - iOSLaunchScreenType: 0 - iOSLaunchScreenPortrait: {fileID: 0} - iOSLaunchScreenLandscape: {fileID: 0} - iOSLaunchScreenBackgroundColor: - serializedVersion: 2 - rgba: 0 - iOSLaunchScreenFillPct: 100 - iOSLaunchScreenSize: 100 - iOSLaunchScreenCustomXibPath: - iOSLaunchScreeniPadType: 0 - iOSLaunchScreeniPadImage: {fileID: 0} - iOSLaunchScreeniPadBackgroundColor: - serializedVersion: 2 - rgba: 0 - iOSLaunchScreeniPadFillPct: 100 - iOSLaunchScreeniPadSize: 100 - iOSLaunchScreeniPadCustomXibPath: - iOSUseLaunchScreenStoryboard: 0 - iOSLaunchScreenCustomStoryboardPath: - iOSDeviceRequirements: [] - iOSURLSchemes: [] - iOSBackgroundModes: 0 - iOSMetalForceHardShadows: 0 - metalEditorSupport: 1 - metalAPIValidation: 1 - iOSRenderExtraFrameOnPause: 0 - appleDeveloperTeamID: - iOSManualSigningProvisioningProfileID: - tvOSManualSigningProvisioningProfileID: - appleEnableAutomaticSigning: 0 - clonedFromGUID: 00000000000000000000000000000000 - AndroidTargetArchitectures: 5 - AndroidSplashScreenScale: 0 - androidSplashScreen: {fileID: 0} - AndroidKeystoreName: - AndroidKeyaliasName: - AndroidTVCompatibility: 1 - AndroidIsGame: 1 - AndroidEnableTango: 0 - androidEnableBanner: 1 - androidUseLowAccuracyLocation: 0 - m_AndroidBanners: - - width: 320 - height: 180 - banner: {fileID: 0} - androidGamepadSupportLevel: 0 - resolutionDialogBanner: {fileID: 0} - m_BuildTargetIcons: [] - m_BuildTargetBatching: [] - m_BuildTargetGraphicsAPIs: [] - m_BuildTargetVRSettings: [] - m_BuildTargetEnableVuforiaSettings: [] - openGLRequireES31: 0 - openGLRequireES31AEP: 0 - m_TemplateCustomTags: {} - mobileMTRendering: - Android: 1 - iPhone: 1 - tvOS: 1 - m_BuildTargetGroupLightmapEncodingQuality: [] - wiiUTitleID: 0005000011000000 - wiiUGroupID: 00010000 - wiiUCommonSaveSize: 4096 - wiiUAccountSaveSize: 2048 - wiiUOlvAccessKey: 0 - wiiUTinCode: 0 - wiiUJoinGameId: 0 - wiiUJoinGameModeMask: 0000000000000000 - wiiUCommonBossSize: 0 - wiiUAccountBossSize: 0 - wiiUAddOnUniqueIDs: [] - wiiUMainThreadStackSize: 3072 - wiiULoaderThreadStackSize: 1024 - wiiUSystemHeapSize: 128 - wiiUTVStartupScreen: {fileID: 0} - wiiUGamePadStartupScreen: {fileID: 0} - wiiUDrcBufferDisabled: 0 - wiiUProfilerLibPath: - playModeTestRunnerEnabled: 0 - actionOnDotNetUnhandledException: 1 - enableInternalProfiler: 0 - logObjCUncaughtExceptions: 1 - enableCrashReportAPI: 0 - cameraUsageDescription: - locationUsageDescription: - microphoneUsageDescription: - switchNetLibKey: - switchSocketMemoryPoolSize: 6144 - switchSocketAllocatorPoolSize: 128 - switchSocketConcurrencyLimit: 14 - switchScreenResolutionBehavior: 2 - switchUseCPUProfiler: 0 - switchApplicationID: 0x01004b9000490000 - switchNSODependencies: - switchTitleNames_0: - switchTitleNames_1: - switchTitleNames_2: - switchTitleNames_3: - switchTitleNames_4: - switchTitleNames_5: - switchTitleNames_6: - switchTitleNames_7: - switchTitleNames_8: - switchTitleNames_9: - switchTitleNames_10: - switchTitleNames_11: - switchTitleNames_12: - switchTitleNames_13: - switchTitleNames_14: - switchPublisherNames_0: - switchPublisherNames_1: - switchPublisherNames_2: - switchPublisherNames_3: - switchPublisherNames_4: - switchPublisherNames_5: - switchPublisherNames_6: - switchPublisherNames_7: - switchPublisherNames_8: - switchPublisherNames_9: - switchPublisherNames_10: - switchPublisherNames_11: - switchPublisherNames_12: - switchPublisherNames_13: - switchPublisherNames_14: - switchIcons_0: {fileID: 0} - switchIcons_1: {fileID: 0} - switchIcons_2: {fileID: 0} - switchIcons_3: {fileID: 0} - switchIcons_4: {fileID: 0} - switchIcons_5: {fileID: 0} - switchIcons_6: {fileID: 0} - switchIcons_7: {fileID: 0} - switchIcons_8: {fileID: 0} - switchIcons_9: {fileID: 0} - switchIcons_10: {fileID: 0} - switchIcons_11: {fileID: 0} - switchIcons_12: {fileID: 0} - switchIcons_13: {fileID: 0} - switchIcons_14: {fileID: 0} - switchSmallIcons_0: {fileID: 0} - switchSmallIcons_1: {fileID: 0} - switchSmallIcons_2: {fileID: 0} - switchSmallIcons_3: {fileID: 0} - switchSmallIcons_4: {fileID: 0} - switchSmallIcons_5: {fileID: 0} - switchSmallIcons_6: {fileID: 0} - switchSmallIcons_7: {fileID: 0} - switchSmallIcons_8: {fileID: 0} - switchSmallIcons_9: {fileID: 0} - switchSmallIcons_10: {fileID: 0} - switchSmallIcons_11: {fileID: 0} - switchSmallIcons_12: {fileID: 0} - switchSmallIcons_13: {fileID: 0} - switchSmallIcons_14: {fileID: 0} - switchManualHTML: - switchAccessibleURLs: - switchLegalInformation: - switchMainThreadStackSize: 1048576 - switchPresenceGroupId: - switchLogoHandling: 0 - switchReleaseVersion: 0 - switchDisplayVersion: 1.0.0 - switchStartupUserAccount: 0 - switchTouchScreenUsage: 0 - switchSupportedLanguagesMask: 0 - switchLogoType: 0 - switchApplicationErrorCodeCategory: - switchUserAccountSaveDataSize: 0 - switchUserAccountSaveDataJournalSize: 0 - switchApplicationAttribute: 0 - switchCardSpecSize: -1 - switchCardSpecClock: -1 - switchRatingsMask: 0 - switchRatingsInt_0: 0 - switchRatingsInt_1: 0 - switchRatingsInt_2: 0 - switchRatingsInt_3: 0 - switchRatingsInt_4: 0 - switchRatingsInt_5: 0 - switchRatingsInt_6: 0 - switchRatingsInt_7: 0 - switchRatingsInt_8: 0 - switchRatingsInt_9: 0 - switchRatingsInt_10: 0 - switchRatingsInt_11: 0 - switchRatingsInt_12: 0 - switchLocalCommunicationIds_0: - switchLocalCommunicationIds_1: - switchLocalCommunicationIds_2: - switchLocalCommunicationIds_3: - switchLocalCommunicationIds_4: - switchLocalCommunicationIds_5: - switchLocalCommunicationIds_6: - switchLocalCommunicationIds_7: - switchParentalControl: 0 - switchAllowsScreenshot: 1 - switchAllowsVideoCapturing: 1 - switchAllowsRuntimeAddOnContentInstall: 0 - switchDataLossConfirmation: 0 - switchUserAccountLockEnabled: 0 - switchSupportedNpadStyles: 3 - switchSocketConfigEnabled: 0 - switchTcpInitialSendBufferSize: 32 - switchTcpInitialReceiveBufferSize: 64 - switchTcpAutoSendBufferSizeMax: 256 - switchTcpAutoReceiveBufferSizeMax: 256 - switchUdpSendBufferSize: 9 - switchUdpReceiveBufferSize: 42 - switchSocketBufferEfficiency: 4 - switchSocketInitializeEnabled: 1 - switchNetworkInterfaceManagerInitializeEnabled: 1 - switchPlayerConnectionEnabled: 1 - ps4NPAgeRating: 12 - ps4NPTitleSecret: - ps4NPTrophyPackPath: - ps4ParentalLevel: 11 - ps4ContentID: ED1633-NPXX51362_00-0000000000000000 - ps4Category: 0 - ps4MasterVersion: 01.00 - ps4AppVersion: 01.00 - ps4AppType: 0 - ps4ParamSfxPath: - ps4VideoOutPixelFormat: 0 - ps4VideoOutInitialWidth: 1920 - ps4VideoOutBaseModeInitialWidth: 1920 - ps4VideoOutReprojectionRate: 60 - ps4PronunciationXMLPath: - ps4PronunciationSIGPath: - ps4BackgroundImagePath: - ps4StartupImagePath: - ps4StartupImagesFolder: - ps4IconImagesFolder: - ps4SaveDataImagePath: - ps4SdkOverride: - ps4BGMPath: - ps4ShareFilePath: - ps4ShareOverlayImagePath: - ps4PrivacyGuardImagePath: - ps4NPtitleDatPath: - ps4RemotePlayKeyAssignment: -1 - ps4RemotePlayKeyMappingDir: - ps4PlayTogetherPlayerCount: 0 - ps4EnterButtonAssignment: 1 - ps4ApplicationParam1: 0 - ps4ApplicationParam2: 0 - ps4ApplicationParam3: 0 - ps4ApplicationParam4: 0 - ps4DownloadDataSize: 0 - ps4GarlicHeapSize: 2048 - ps4ProGarlicHeapSize: 2560 - ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ - ps4pnSessions: 1 - ps4pnPresence: 1 - ps4pnFriends: 1 - ps4pnGameCustomData: 1 - playerPrefsSupport: 0 - restrictedAudioUsageRights: 0 - ps4UseResolutionFallback: 0 - ps4ReprojectionSupport: 0 - ps4UseAudio3dBackend: 0 - ps4SocialScreenEnabled: 0 - ps4ScriptOptimizationLevel: 0 - ps4Audio3dVirtualSpeakerCount: 14 - ps4attribCpuUsage: 0 - ps4PatchPkgPath: - ps4PatchLatestPkgPath: - ps4PatchChangeinfoPath: - ps4PatchDayOne: 0 - ps4attribUserManagement: 0 - ps4attribMoveSupport: 0 - ps4attrib3DSupport: 0 - ps4attribShareSupport: 0 - ps4attribExclusiveVR: 0 - ps4disableAutoHideSplash: 0 - ps4videoRecordingFeaturesUsed: 0 - ps4contentSearchFeaturesUsed: 0 - ps4attribEyeToEyeDistanceSettingVR: 0 - ps4IncludedModules: [] - monoEnv: - psp2Splashimage: {fileID: 0} - psp2NPTrophyPackPath: - psp2NPSupportGBMorGJP: 0 - psp2NPAgeRating: 12 - psp2NPTitleDatPath: - psp2NPCommsID: - psp2NPCommunicationsID: - psp2NPCommsPassphrase: - psp2NPCommsSig: - psp2ParamSfxPath: - psp2ManualPath: - psp2LiveAreaGatePath: - psp2LiveAreaBackroundPath: - psp2LiveAreaPath: - psp2LiveAreaTrialPath: - psp2PatchChangeInfoPath: - psp2PatchOriginalPackage: - psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui - psp2KeystoneFile: - psp2MemoryExpansionMode: 0 - psp2DRMType: 0 - psp2StorageType: 0 - psp2MediaCapacity: 0 - psp2DLCConfigPath: - psp2ThumbnailPath: - psp2BackgroundPath: - psp2SoundPath: - psp2TrophyCommId: - psp2TrophyPackagePath: - psp2PackagedResourcesPath: - psp2SaveDataQuota: 10240 - psp2ParentalLevel: 1 - psp2ShortTitle: Not Set - psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF - psp2Category: 0 - psp2MasterVersion: 01.00 - psp2AppVersion: 01.00 - psp2TVBootMode: 0 - psp2EnterButtonAssignment: 2 - psp2TVDisableEmu: 0 - psp2AllowTwitterDialog: 1 - psp2Upgradable: 0 - psp2HealthWarning: 0 - psp2UseLibLocation: 0 - psp2InfoBarOnStartup: 0 - psp2InfoBarColor: 0 - psp2ScriptOptimizationLevel: 0 - psmSplashimage: {fileID: 0} - splashScreenBackgroundSourceLandscape: {fileID: 0} - splashScreenBackgroundSourcePortrait: {fileID: 0} - spritePackerPolicy: - webGLMemorySize: 256 - webGLExceptionSupport: 1 - webGLNameFilesAsHashes: 0 - webGLDataCaching: 0 - webGLDebugSymbols: 0 - webGLEmscriptenArgs: - webGLModulesDirectory: - webGLTemplate: APPLICATION:Default - webGLAnalyzeBuildSize: 0 - webGLUseEmbeddedResources: 0 - webGLUseWasm: 0 - webGLCompressionFormat: 1 - scriptingDefineSymbols: {} - platformArchitecture: {} - scriptingBackend: {} - incrementalIl2cppBuild: {} - additionalIl2CppArgs: - scriptingRuntimeVersion: 1 - apiCompatibilityLevelPerPlatform: {} - m_RenderingPath: 1 - m_MobileRenderingPath: 1 - metroPackageName: Example - metroPackageVersion: - metroCertificatePath: - metroCertificatePassword: - metroCertificateSubject: - metroCertificateIssuer: - metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: Example - wsaImages: {} - metroTileShortName: - metroCommandLineArgsFile: - metroTileShowName: 0 - metroMediumTileShowName: 0 - metroLargeTileShowName: 0 - metroWideTileShowName: 0 - metroDefaultTileSize: 1 - metroTileForegroundText: 2 - metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} - metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, - a: 1} - metroSplashScreenUseBackgroundColor: 0 - platformCapabilities: {} - metroFTAName: - metroFTAFileTypes: [] - metroProtocolName: - metroCompilationOverrides: 1 - tizenProductDescription: - tizenProductURL: - tizenSigningProfileName: - tizenGPSPermissions: 0 - tizenMicrophonePermissions: 0 - tizenDeploymentTarget: - tizenDeploymentTargetType: -1 - tizenMinOSVersion: 1 - n3dsUseExtSaveData: 0 - n3dsCompressStaticMem: 1 - n3dsExtSaveDataNumber: 0x12345 - n3dsStackSize: 131072 - n3dsTargetPlatform: 2 - n3dsRegion: 7 - n3dsMediaSize: 0 - n3dsLogoStyle: 3 - n3dsTitle: GameName - n3dsProductCode: - n3dsApplicationId: 0xFF3FF - XboxOneProductId: - XboxOneUpdateKey: - XboxOneSandboxId: - XboxOneContentId: - XboxOneTitleId: - XboxOneSCId: - XboxOneGameOsOverridePath: - XboxOnePackagingOverridePath: - XboxOneAppManifestOverridePath: - XboxOnePackageEncryption: 0 - XboxOnePackageUpdateGranularity: 2 - XboxOneDescription: - XboxOneLanguage: - - enus - XboxOneCapability: [] - XboxOneGameRating: {} - XboxOneIsContentPackage: 0 - XboxOneEnableGPUVariability: 0 - XboxOneSockets: {} - XboxOneSplashScreen: {fileID: 0} - XboxOneAllowedProductIds: [] - XboxOnePersistentLocalStorageSize: 0 - XboxOneXTitleMemory: 8 - xboxOneScriptCompiler: 0 - vrEditorSettings: - daydream: - daydreamIconForeground: {fileID: 0} - daydreamIconBackground: {fileID: 0} - cloudServicesEnabled: {} - facebookSdkVersion: 7.9.4 - apiCompatibilityLevel: 3 - cloudProjectId: - projectName: - organizationId: - cloudEnabled: 0 - enableNativePlatformBackendsForNewInputSystem: 0 - disableOldInputManagerSupport: 0 diff --git a/Example/ProjectSettings/ProjectVersion.txt b/Example/ProjectSettings/ProjectVersion.txt deleted file mode 100644 index ca245d6..0000000 --- a/Example/ProjectSettings/ProjectVersion.txt +++ /dev/null @@ -1 +0,0 @@ -m_EditorVersion: 2017.4.40f1 diff --git a/Example/ProjectSettings/QualitySettings.asset b/Example/ProjectSettings/QualitySettings.asset deleted file mode 100644 index 05daac3..0000000 --- a/Example/ProjectSettings/QualitySettings.asset +++ /dev/null @@ -1,191 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!47 &1 -QualitySettings: - m_ObjectHideFlags: 0 - serializedVersion: 5 - m_CurrentQuality: 5 - m_QualitySettings: - - serializedVersion: 2 - name: Very Low - pixelLightCount: 0 - shadows: 0 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 15 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 0 - blendWeights: 1 - textureQuality: 1 - anisotropicTextures: 0 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 0 - lodBias: 0.3 - maximumLODLevel: 0 - particleRaycastBudget: 4 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Low - pixelLightCount: 0 - shadows: 0 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 20 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 0 - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 0 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 0 - lodBias: 0.4 - maximumLODLevel: 0 - particleRaycastBudget: 16 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Medium - pixelLightCount: 1 - shadows: 1 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 20 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 0 - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 1 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 1 - lodBias: 0.7 - maximumLODLevel: 0 - particleRaycastBudget: 64 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: High - pixelLightCount: 2 - shadows: 2 - shadowResolution: 1 - shadowProjection: 1 - shadowCascades: 2 - shadowDistance: 40 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 1 - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 1 - antiAliasing: 0 - softParticles: 0 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 1 - maximumLODLevel: 0 - particleRaycastBudget: 256 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Very High - pixelLightCount: 3 - shadows: 2 - shadowResolution: 2 - shadowProjection: 1 - shadowCascades: 2 - shadowDistance: 70 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 1 - blendWeights: 4 - textureQuality: 0 - anisotropicTextures: 2 - antiAliasing: 2 - softParticles: 1 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 1.5 - maximumLODLevel: 0 - particleRaycastBudget: 1024 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Ultra - pixelLightCount: 4 - shadows: 2 - shadowResolution: 2 - shadowProjection: 1 - shadowCascades: 4 - shadowDistance: 150 - shadowNearPlaneOffset: 3 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - shadowmaskMode: 1 - blendWeights: 4 - textureQuality: 0 - anisotropicTextures: 2 - antiAliasing: 2 - softParticles: 1 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 2 - maximumLODLevel: 0 - particleRaycastBudget: 4096 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - resolutionScalingFixedDPIFactor: 1 - excludedTargetPlatforms: [] - m_PerPlatformDefaultQuality: - Android: 2 - Nintendo 3DS: 5 - Nintendo Switch: 5 - PS4: 5 - PSM: 5 - PSP2: 2 - Standalone: 5 - Tizen: 2 - WebGL: 3 - WiiU: 5 - Windows Store Apps: 5 - XboxOne: 5 - iPhone: 2 - tvOS: 2 diff --git a/Example/ProjectSettings/TagManager.asset b/Example/ProjectSettings/TagManager.asset deleted file mode 100644 index 1c92a78..0000000 --- a/Example/ProjectSettings/TagManager.asset +++ /dev/null @@ -1,43 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!78 &1 -TagManager: - serializedVersion: 2 - tags: [] - layers: - - Default - - TransparentFX - - Ignore Raycast - - - - Water - - UI - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - m_SortingLayers: - - name: Default - uniqueID: 0 - locked: 0 diff --git a/Example/ProjectSettings/TimeManager.asset b/Example/ProjectSettings/TimeManager.asset deleted file mode 100644 index 558a017..0000000 --- a/Example/ProjectSettings/TimeManager.asset +++ /dev/null @@ -1,9 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!5 &1 -TimeManager: - m_ObjectHideFlags: 0 - Fixed Timestep: 0.02 - Maximum Allowed Timestep: 0.33333334 - m_TimeScale: 1 - Maximum Particle Timestep: 0.03 diff --git a/Example/UnityPackageManager/manifest.json b/Example/UnityPackageManager/manifest.json deleted file mode 100644 index 526aca6..0000000 --- a/Example/UnityPackageManager/manifest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "dependencies": { - } -} diff --git a/ModTool.Editor.Exporting/ModTool.Editor.Exporting.csproj b/ModTool.Editor.Exporting/ModTool.Editor.Exporting.csproj deleted file mode 100644 index 6283dfb..0000000 --- a/ModTool.Editor.Exporting/ModTool.Editor.Exporting.csproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Debug - AnyCPU - {22E3C484-3EBD-4469-A704-ACF23B4FE8DD} - Library - Properties - ModTool.Exporting.Editor - ModTool.Editor.Exporting - v4.6 - 512 - - - - true - full - false - bin\Debug\ - TRACE;DEBUG - prompt - 4 - bin\Debug\ModTool.Editor.Exporting.xml - false - - - pdbonly - true - bin\Release\ - - - prompt - 4 - bin\Release\ModTool.Editor.Exporting.xml - false - - - - False - ..\Example\Assets\ModTool\Mono.Cecil\ModTool.Cecil.dll - - - - - - - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEditor.dll - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEngine.dll - - - - - - - - - - - - - - - - - - {f3f7f434-f83d-4ab5-872c-122d89ec81ea} - ModTool.Interface - - - {5e13231b-ca13-4496-b32c-bb033b15a379} - ModTool.Shared - - - - - copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example\Assets\ModTool\Editor\$(TargetName).dll" -copy /Y "$(TargetDir)$(TargetName).xml" "$(SolutionDir)Example\Assets\ModTool\Editor\$(TargetName).xml" - -copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example Mod\Assets\ModTool\Editor\$(TargetName).dll" - - - \ No newline at end of file diff --git a/ModTool.Editor.Exporting/Properties/AssemblyInfo.cs b/ModTool.Editor.Exporting/Properties/AssemblyInfo.cs deleted file mode 100644 index 387c000..0000000 --- a/ModTool.Editor.Exporting/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ModTool.Exporting.Editor")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ModTool")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("22e3c484-3ebd-4469-a704-acf23b4fe8dd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ModTool.Editor/ModTool.Editor.csproj b/ModTool.Editor/ModTool.Editor.csproj deleted file mode 100644 index cfbd622..0000000 --- a/ModTool.Editor/ModTool.Editor.csproj +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Debug - AnyCPU - {0C6CF583-1F64-4128-BCBC-0E5FD2064A61} - Library - Properties - ModTool.Editor - ModTool.Editor - v4.6 - 512 - - - - true - full - false - bin\Debug\ - TRACE;DEBUG - prompt - 4 - bin\Debug\ModTool.Editor.XML - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\ModTool.Editor.XML - false - - - - - - - - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEditor.dll - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEngine.dll - - - - - - - - - - - - - - - - {22e3c484-3ebd-4469-a704-acf23b4fe8dd} - ModTool.Editor.Exporting - - - {5e13231b-ca13-4496-b32c-bb033b15a379} - ModTool.Shared - - - {b8cbc92f-7c31-452c-bba8-a91957d332df} - ModTool - - - - - copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example\Assets\ModTool\Editor\$(TargetName).dll" -copy /Y "$(TargetDir)$(TargetName).xml" "$(SolutionDir)Example\Assets\ModTool\Editor\$(TargetName).xml" - - - \ No newline at end of file diff --git a/ModTool.Editor/Properties/AssemblyInfo.cs b/ModTool.Editor/Properties/AssemblyInfo.cs deleted file mode 100644 index e1ea694..0000000 --- a/ModTool.Editor/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ModTool.Editor")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ModTool")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("0c6cf583-1f64-4128-bcbc-0e5fd2064a61")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ModTool.Interface/ModTool.Interface.csproj b/ModTool.Interface/ModTool.Interface.csproj deleted file mode 100644 index 79f42cc..0000000 --- a/ModTool.Interface/ModTool.Interface.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {F3F7F434-F83D-4AB5-872C-122D89EC81EA} - Library - Properties - ModTool.Interface - ModTool.Interface - v4.6 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\ModTool.Interface.xml - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\ModTool.Interface.xml - false - - - - - - - - - - - - - - - - copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).dll" -copy /Y "$(TargetDir)$(TargetName).xml" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).xml" - -copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example Mod\Assets\ModTool\$(TargetName).dll" - - - \ No newline at end of file diff --git a/ModTool.Interface/Properties/AssemblyInfo.cs b/ModTool.Interface/Properties/AssemblyInfo.cs deleted file mode 100644 index 348b6b6..0000000 --- a/ModTool.Interface/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ModTool.Interface")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ModTool")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f3f7f434-f83d-4ab5-872c-122d89ec81ea")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ModTool.Shared/ModTool.Shared.csproj b/ModTool.Shared/ModTool.Shared.csproj deleted file mode 100644 index 2ab77ac..0000000 --- a/ModTool.Shared/ModTool.Shared.csproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - AnyCPU - {5E13231B-CA13-4496-B32C-BB033B15A379} - Library - Properties - ModTool.Shared - ModTool.Shared - v4.6 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\ModTool.Shared.XML - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\ModTool.Shared.XML - false - - - - False - ..\Example\Assets\ModTool\Mono.Cecil\ModTool.Cecil.dll - - - - - - - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEngine.dll - - - - - - - - - - - - - - - - - - - - copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).dll" -copy /Y "$(TargetDir)$(TargetName).xml" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).xml" - -copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example Mod\Assets\ModTool\$(TargetName).dll" - - - \ No newline at end of file diff --git a/ModTool.Shared/Properties/AssemblyInfo.cs b/ModTool.Shared/Properties/AssemblyInfo.cs deleted file mode 100644 index 20df6b5..0000000 --- a/ModTool.Shared/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ModTool.Shared")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ModTool")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("5e13231b-ca13-4496-b32c-bb033b15a379")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ModTool.sln b/ModTool.sln deleted file mode 100644 index d23d6e5..0000000 --- a/ModTool.sln +++ /dev/null @@ -1,49 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2024 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModTool", "ModTool\ModTool.csproj", "{B8CBC92F-7C31-452C-BBA8-A91957D332DF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModTool.Editor.Exporting", "ModTool.Editor.Exporting\ModTool.Editor.Exporting.csproj", "{22E3C484-3EBD-4469-A704-ACF23B4FE8DD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModTool.Editor", "ModTool.Editor\ModTool.Editor.csproj", "{0C6CF583-1F64-4128-BCBC-0E5FD2064A61}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModTool.Shared", "ModTool.Shared\ModTool.Shared.csproj", "{5E13231B-CA13-4496-B32C-BB033B15A379}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModTool.Interface", "ModTool.Interface\ModTool.Interface.csproj", "{F3F7F434-F83D-4AB5-872C-122D89EC81EA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B8CBC92F-7C31-452C-BBA8-A91957D332DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B8CBC92F-7C31-452C-BBA8-A91957D332DF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B8CBC92F-7C31-452C-BBA8-A91957D332DF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B8CBC92F-7C31-452C-BBA8-A91957D332DF}.Release|Any CPU.Build.0 = Release|Any CPU - {22E3C484-3EBD-4469-A704-ACF23B4FE8DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {22E3C484-3EBD-4469-A704-ACF23B4FE8DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {22E3C484-3EBD-4469-A704-ACF23B4FE8DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {22E3C484-3EBD-4469-A704-ACF23B4FE8DD}.Release|Any CPU.Build.0 = Release|Any CPU - {0C6CF583-1F64-4128-BCBC-0E5FD2064A61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0C6CF583-1F64-4128-BCBC-0E5FD2064A61}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0C6CF583-1F64-4128-BCBC-0E5FD2064A61}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0C6CF583-1F64-4128-BCBC-0E5FD2064A61}.Release|Any CPU.Build.0 = Release|Any CPU - {5E13231B-CA13-4496-B32C-BB033B15A379}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5E13231B-CA13-4496-B32C-BB033B15A379}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5E13231B-CA13-4496-B32C-BB033B15A379}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5E13231B-CA13-4496-B32C-BB033B15A379}.Release|Any CPU.Build.0 = Release|Any CPU - {F3F7F434-F83D-4AB5-872C-122D89EC81EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F3F7F434-F83D-4AB5-872C-122D89EC81EA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F3F7F434-F83D-4AB5-872C-122D89EC81EA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F3F7F434-F83D-4AB5-872C-122D89EC81EA}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D123A4BD-54E4-4200-9C93-3E52CBC0B32A} - EndGlobalSection -EndGlobal diff --git a/ModTool/ModTool.csproj b/ModTool/ModTool.csproj deleted file mode 100644 index 1a98042..0000000 --- a/ModTool/ModTool.csproj +++ /dev/null @@ -1,94 +0,0 @@ - - - - - Debug - AnyCPU - {B8CBC92F-7C31-452C-BBA8-A91957D332DF} - Library - Properties - ModTool - ModTool - v4.6 - 512 - - - - true - full - false - bin\Debug\ - TRACE;DEBUG - prompt - 4 - bin\Debug\ModTool.XML - false - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\ModTool.XML - false - - - false - - - - False - ..\Example\Assets\ModTool\Mono.Cecil\ModTool.Cecil.dll - - - - - - - - - False - ..\..\..\..\..\Program Files\Unity\Hub\Editor\2017.4.40f1\Editor\Data\Managed\UnityEngine.dll - - - - - - - - - - - - - - - - - - - {f3f7f434-f83d-4ab5-872c-122d89ec81ea} - ModTool.Interface - - - {5e13231b-ca13-4496-b32c-bb033b15a379} - ModTool.Shared - - - - - copy /Y "$(TargetDir)$(TargetName).dll" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).dll" -copy /Y "$(TargetDir)$(TargetName).xml" "$(SolutionDir)Example\Assets\ModTool\$(TargetName).xml" - - - - \ No newline at end of file diff --git a/ModTool/Properties/AssemblyInfo.cs b/ModTool/Properties/AssemblyInfo.cs deleted file mode 100644 index 868be29..0000000 --- a/ModTool/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ModTool")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ModTool")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b8cbc92f-7c31-452c-bba8-a91957d332df")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Example/Mods/Example Mod/Example Mod.info b/Mods/Example Mod/Example Mod.info similarity index 100% rename from Example/Mods/Example Mod/Example Mod.info rename to Mods/Example Mod/Example Mod.info diff --git a/Example/Mods/Example Mod/ExampleMod.dll b/Mods/Example Mod/ExampleMod.dll similarity index 100% rename from Example/Mods/Example Mod/ExampleMod.dll rename to Mods/Example Mod/ExampleMod.dll diff --git a/Example/Mods/Example Mod/Windows/Windows b/Mods/Example Mod/Windows/Windows similarity index 100% rename from Example/Mods/Example Mod/Windows/Windows rename to Mods/Example Mod/Windows/Windows diff --git a/Example/Mods/Example Mod/Windows/Windows.manifest b/Mods/Example Mod/Windows/Windows.manifest similarity index 100% rename from Example/Mods/Example Mod/Windows/Windows.manifest rename to Mods/Example Mod/Windows/Windows.manifest diff --git a/Example/Mods/Example Mod/Windows/example mod.scenes b/Mods/Example Mod/Windows/example mod.scenes similarity index 100% rename from Example/Mods/Example Mod/Windows/example mod.scenes rename to Mods/Example Mod/Windows/example mod.scenes diff --git a/Example/Mods/Example Mod/Windows/example mod.scenes.manifest b/Mods/Example Mod/Windows/example mod.scenes.manifest similarity index 100% rename from Example/Mods/Example Mod/Windows/example mod.scenes.manifest rename to Mods/Example Mod/Windows/example mod.scenes.manifest diff --git a/Example Mod/ProjectSettings/AudioManager.asset b/ProjectSettings/AudioManager.asset similarity index 100% rename from Example Mod/ProjectSettings/AudioManager.asset rename to ProjectSettings/AudioManager.asset diff --git a/Example Mod/ProjectSettings/ClusterInputManager.asset b/ProjectSettings/ClusterInputManager.asset similarity index 100% rename from Example Mod/ProjectSettings/ClusterInputManager.asset rename to ProjectSettings/ClusterInputManager.asset diff --git a/Example Mod/ProjectSettings/DynamicsManager.asset b/ProjectSettings/DynamicsManager.asset similarity index 100% rename from Example Mod/ProjectSettings/DynamicsManager.asset rename to ProjectSettings/DynamicsManager.asset diff --git a/Example Mod/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset similarity index 100% rename from Example Mod/ProjectSettings/EditorBuildSettings.asset rename to ProjectSettings/EditorBuildSettings.asset diff --git a/Example Mod/ProjectSettings/EditorSettings.asset b/ProjectSettings/EditorSettings.asset similarity index 100% rename from Example Mod/ProjectSettings/EditorSettings.asset rename to ProjectSettings/EditorSettings.asset diff --git a/Example/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset similarity index 100% rename from Example/ProjectSettings/GraphicsSettings.asset rename to ProjectSettings/GraphicsSettings.asset diff --git a/Example Mod/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset similarity index 100% rename from Example Mod/ProjectSettings/InputManager.asset rename to ProjectSettings/InputManager.asset diff --git a/Example Mod/ProjectSettings/NavMeshAreas.asset b/ProjectSettings/NavMeshAreas.asset similarity index 100% rename from Example Mod/ProjectSettings/NavMeshAreas.asset rename to ProjectSettings/NavMeshAreas.asset diff --git a/Example Mod/ProjectSettings/NetworkManager.asset b/ProjectSettings/NetworkManager.asset similarity index 100% rename from Example Mod/ProjectSettings/NetworkManager.asset rename to ProjectSettings/NetworkManager.asset diff --git a/Example Mod/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset similarity index 100% rename from Example Mod/ProjectSettings/Physics2DSettings.asset rename to ProjectSettings/Physics2DSettings.asset diff --git a/Example Mod/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset similarity index 98% rename from Example Mod/ProjectSettings/ProjectSettings.asset rename to ProjectSettings/ProjectSettings.asset index 39f55fe..9d2de91 100644 --- a/Example Mod/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -4,15 +4,15 @@ PlayerSettings: m_ObjectHideFlags: 0 serializedVersion: 18 - productGUID: 0685998ae252ddc44b03171aeb6cc175 + productGUID: d2f3181fb5c42af49a86e977e4825181 AndroidProfiler: 0 AndroidFilterTouchesWhenObscured: 0 defaultScreenOrientation: 4 targetDevice: 2 useOnDemandResources: 0 accelerometerFrequency: 60 - companyName: HelloMeow - productName: Example Mod + companyName: DefaultCompany + productName: ModTool defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} @@ -158,9 +158,7 @@ PlayerSettings: resolutionScalingMode: 0 androidSupportedAspectRatio: 1 androidMaxAspectRatio: 2.1 - applicationIdentifier: - Android: com.Example.ExampleMod - Standalone: com.HelloMeow.ExampleMod + applicationIdentifier: {} buildNumber: {} AndroidBundleVersionCode: 1 AndroidMinSdkVersion: 16 @@ -562,14 +560,14 @@ PlayerSettings: apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 1 m_MobileRenderingPath: 1 - metroPackageName: Example Mod + metroPackageName: ModTool metroPackageVersion: metroCertificatePath: metroCertificatePassword: metroCertificateSubject: metroCertificateIssuer: metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: Example Mod + metroApplicationDescription: ModTool wsaImages: {} metroTileShortName: metroCommandLineArgsFile: @@ -637,7 +635,7 @@ PlayerSettings: daydreamIconBackground: {fileID: 0} cloudServicesEnabled: {} facebookSdkVersion: 7.9.4 - apiCompatibilityLevel: 3 + apiCompatibilityLevel: 2 cloudProjectId: projectName: organizationId: diff --git a/Example Mod/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt similarity index 100% rename from Example Mod/ProjectSettings/ProjectVersion.txt rename to ProjectSettings/ProjectVersion.txt diff --git a/Example Mod/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset similarity index 100% rename from Example Mod/ProjectSettings/QualitySettings.asset rename to ProjectSettings/QualitySettings.asset diff --git a/Example Mod/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset similarity index 100% rename from Example Mod/ProjectSettings/TagManager.asset rename to ProjectSettings/TagManager.asset diff --git a/Example Mod/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset similarity index 100% rename from Example Mod/ProjectSettings/TimeManager.asset rename to ProjectSettings/TimeManager.asset diff --git a/Example/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset similarity index 100% rename from Example/ProjectSettings/UnityConnectSettings.asset rename to ProjectSettings/UnityConnectSettings.asset diff --git a/Example Mod/UnityPackageManager/manifest.json b/UnityPackageManager/manifest.json similarity index 100% rename from Example Mod/UnityPackageManager/manifest.json rename to UnityPackageManager/manifest.json