[Test] Add unit tests for base code

This commit is contained in:
Michal Pikulski
2025-09-14 13:35:35 +02:00
parent 8cffe0b161
commit 15414f9414
19 changed files with 957 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "AppleHillsScripts",
"rootNamespace": "",
"references": [
"PixelplacementAssembly",
"Unity.Addressables",
"AstarPathfindingProject",
"Unity.ResourceManager",
"Unity.InputSystem",
"Unity.TextMeshPro"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d91d3f46515a6954caa674697afbf416
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -19,7 +19,7 @@ namespace Utils
to.color = from.color;
to.flipX = from.flipX;
to.flipY = from.flipY;
to.material = from.material;
to.sharedMaterial = from.sharedMaterial; // Use sharedMaterial instead of material to avoid instantiation in edit mode
to.drawMode = from.drawMode;
to.size = from.size;
to.maskInteraction = from.maskInteraction;