[Test] Add unit tests for base code
This commit is contained in:
21
Assets/Scripts/AppleHillsScripts.asmdef
Normal file
21
Assets/Scripts/AppleHillsScripts.asmdef
Normal 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
|
||||
}
|
||||
7
Assets/Scripts/AppleHillsScripts.asmdef.meta
Normal file
7
Assets/Scripts/AppleHillsScripts.asmdef.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d91d3f46515a6954caa674697afbf416
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user