first commit

This commit is contained in:
Chris
2025-03-12 14:22:16 -04:00
commit 0ad0c01249
1999 changed files with 189708 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f2bbed206b35f45109a573da43d01ea0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,47 @@
// Disable the warning: "Field 'DependencyCheck.Dependency.name' is never assigned to, and will always have its default value null"
#pragma warning disable 649
using UnityEditor;
using System.Linq;
namespace Drawing.Util {
[InitializeOnLoad]
static class DependencyCheck {
struct Dependency {
public string name;
public string version;
}
static DependencyCheck() {
var missingDependencies = new Dependency[] {
#if !MODULE_BURST
new Dependency {
name = "com.unity.burst",
version = "1.2.1-preview",
},
#endif
#if !MODULE_MATHEMATICS
new Dependency {
name = "com.unity.mathematics",
version = "1.1.0",
},
#endif
#if !MODULE_COLLECTIONS
new Dependency {
name = "com.unity.collections",
version = "0.4.0-preview",
},
#endif
};
if (missingDependencies.Length > 0) {
string missing = string.Join(", ", missingDependencies.Select(p => p.name + " (" + p.version + ")"));
bool res = EditorUtility.DisplayDialog("Missing dependencies", "The packages " + missing + " are required by ALINE but they are not installed, or the installed versions are too old. Do you want to install the latest versions of the packages?", "Ok", "Cancel");
if (res) {
foreach (var dep in missingDependencies) {
UnityEditor.PackageManager.Client.Add(dep.name);
}
}
}
}
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: ee520e93d6bcd7966baa1c0a2c932cab
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 162772
packageName: ALINE
packageVersion: 1.7.6
assetPath: Packages/com.arongranberg.aline/PackageTools/Editor/DependencyCheck.cs
uploadId: 700292

View File

@@ -0,0 +1,34 @@
{
"name": "ALINEPackageToolsEditor",
"rootNamespace": "",
"references": [
"GUID:f4059aaf6c60a4a58a177a2609feb769"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [
{
"name": "com.unity.burst",
"expression": "1.2.1-preview",
"define": "MODULE_BURST"
},
{
"name": "com.unity.mathematics",
"expression": "1.1.0",
"define": "MODULE_MATHEMATICS"
},
{
"name": "com.unity.collections",
"expression": "0.4.0-preview",
"define": "MODULE_COLLECTIONS"
}
],
"noEngineReferences": false
}

View File

@@ -0,0 +1,14 @@
fileFormatVersion: 2
guid: 7b1b525c1a052ef77996abb20f96d108
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 162772
packageName: ALINE
packageVersion: 1.7.6
assetPath: Packages/com.arongranberg.aline/PackageTools/Editor/PackageToolsEditor.asmdef
uploadId: 700292