For AI agents: the complete documentation index is available at /AchUtils/ja/llms.txt, the full documentation bundle is available at /AchUtils/ja/llms-full.txt, and this page is available as Markdown at /AchUtils/ja/getting-started.md.

はじめに

Package Manager でインストール(ローカル)

Unity プロジェクトの Packages/manifest.json を開き、以下を追加します。

{
  "dependencies": {
    "com.achieve.utils": "file:../Packages/AchUtils"
  }
}

または Package Manager → Add package from disk を選択して Packages/AchUtils/package.json を開きます。

Git URL でインストール

{
  "dependencies": {
    "com.achieve.utils": "https://github.com/achieveonepark/AchUtils.git"
  }
}

確認

インストール後、Assembly Browser で AchUtils.Runtime と AchUtils.Extensions が表示されれば完了です。

using AchUtils.Tutorial;
using AchUtils.Buff;
using AchUtils;
// ... 必要なシステムのみ using

対応環境

項目要件
Unity2021.3 LTS 以降
.NETStandard 2.1
プラットフォームiOS, Android, PC, WebGL, Console
外部パッケージcom.unity.ugui, com.unity.nuget.newtonsoft-json

サンプルのインポート

Package Manager で AchUtils パッケージを選択し、Samples → Basic Usage → Import を押すと、インスタンスベースの使用例をプロジェクトに取り込めます。

TextMeshPro

DialogueStep は既定で UnityEngine.UI.Text を使用します。TMP を使うには DialogueStep.cs の Text コンポーネントを TextMeshProUGUI に置き換えてください。