From f089bef1478d5b3763182fc5e66f4dee64b92caa Mon Sep 17 00:00:00 2001 From: sakastudio / Katsumi Sato <55620461+sakastudio@users.noreply.github.com> Date: Tue, 27 May 2025 21:18:01 +0900 Subject: [PATCH] Convert CommandForgeGeneratorUtil to Unity package --- .../CommandForgeGeneratorUtil/Assets/Scripts.meta | 8 -------- .../Assets/Scripts/Editor.meta | 8 -------- .../Scripts/Editor/CommandTemplateGenerator.cs.meta | 3 --- .../Assets/Scripts/Editor/aa.cs.meta | 11 ----------- .../Editor/CommandForgeGeneratorUtil.Editor.asmdef | 6 ++++++ .../Scripts => }/Editor/CommandTemplateGenerator.cs | 0 .../{Assets/Scripts => }/Editor/aa.cs | 0 .../CommandForgeGeneratorUtil/README.md | 9 +++++++++ .../CommandForgeGeneratorUtil/package.json | 7 +++++++ 9 files changed, 22 insertions(+), 30 deletions(-) delete mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts.meta delete mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor.meta delete mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs.meta delete mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs.meta create mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandForgeGeneratorUtil.Editor.asmdef rename UnityEditorExtension/CommandForgeGeneratorUtil/{Assets/Scripts => }/Editor/CommandTemplateGenerator.cs (100%) rename UnityEditorExtension/CommandForgeGeneratorUtil/{Assets/Scripts => }/Editor/aa.cs (100%) create mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/README.md create mode 100644 UnityEditorExtension/CommandForgeGeneratorUtil/package.json diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts.meta b/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts.meta deleted file mode 100644 index ec2e8a5..0000000 --- a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cb5301cff412c46daaf7698d542cb170 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor.meta b/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor.meta deleted file mode 100644 index ae34ec2..0000000 --- a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fa28a4f886fe54116bb1dcbfe2c5fd69 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs.meta b/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs.meta deleted file mode 100644 index 837885b..0000000 --- a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 61627663fdb8402cae964c0458c4a05d -timeCreated: 1748342664 \ No newline at end of file diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs.meta b/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs.meta deleted file mode 100644 index 94457dd..0000000 --- a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1698977301878477da168bc39cf48593 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandForgeGeneratorUtil.Editor.asmdef b/UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandForgeGeneratorUtil.Editor.asmdef new file mode 100644 index 0000000..c5e5f57 --- /dev/null +++ b/UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandForgeGeneratorUtil.Editor.asmdef @@ -0,0 +1,6 @@ +{ + "name": "CommandForgeGeneratorUtil.Editor", + "references": [], + "includePlatforms": ["Editor"], + "autoReferenced": true +} diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs b/UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandTemplateGenerator.cs similarity index 100% rename from UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/CommandTemplateGenerator.cs rename to UnityEditorExtension/CommandForgeGeneratorUtil/Editor/CommandTemplateGenerator.cs diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs b/UnityEditorExtension/CommandForgeGeneratorUtil/Editor/aa.cs similarity index 100% rename from UnityEditorExtension/CommandForgeGeneratorUtil/Assets/Scripts/Editor/aa.cs rename to UnityEditorExtension/CommandForgeGeneratorUtil/Editor/aa.cs diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/README.md b/UnityEditorExtension/CommandForgeGeneratorUtil/README.md new file mode 100644 index 0000000..ee1ac62 --- /dev/null +++ b/UnityEditorExtension/CommandForgeGeneratorUtil/README.md @@ -0,0 +1,9 @@ +# Command Forge Generator Util + +This package provides a small Unity editor utility window that generates command template scripts for projects using CommandForge. + +## Usage +1. Install this package using the Unity Package Manager. +2. Open the generator window via **Window > CommandTemplateGenerator**. +3. Specify the path to your `commands.yaml` and output directory, then click **Generate**. + diff --git a/UnityEditorExtension/CommandForgeGeneratorUtil/package.json b/UnityEditorExtension/CommandForgeGeneratorUtil/package.json new file mode 100644 index 0000000..c572e2c --- /dev/null +++ b/UnityEditorExtension/CommandForgeGeneratorUtil/package.json @@ -0,0 +1,7 @@ +{ + "name": "com.moorestech.commandforgegeneratorutil", + "version": "0.1.0", + "displayName": "Command Forge Generator Util", + "description": "Unity editor extension for generating Command Forge command templates.", + "unity": "2021.3" +}