공용 코드를 위한 어셈블리 정의

This commit is contained in:
2025-10-19 00:33:01 +09:00
parent 0554d56918
commit ea8251dfc8
6 changed files with 41 additions and 1 deletions

View File

@@ -6,6 +6,6 @@ public static class CustomMenuItemDefinition
[MenuItem("Custom/Print log")] [MenuItem("Custom/Print log")]
private static void PringLog() private static void PringLog()
{ {
Debug.Log("Hello, world!"); Debug.Log($"Hello, world! - {SharedFunctions.Add(1, 2)}");
} }
} }

View File

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

View File

@@ -0,0 +1,16 @@
{
"name": "Shared",
"rootNamespace": "",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [
""
],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": true
}

View File

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

View File

@@ -0,0 +1,7 @@
public static class SharedFunctions
{
public static int Add(int a, int b)
{
return a + b;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 436971c18a04611498a0f659337593e8