CraftCore Installation
Requirements
| Requirement | Version |
|---|---|
| Unity | 2022.3 LTS or newer |
CraftCore has no additional package dependencies.
Automatic Installation
CraftCore is bundled with CraftWorks products (DialogueCraft, LocalizeCraft) and imports automatically. No separate installation step is needed.
Package Location
CraftCore installs as a local package at Packages/com.craftworks.craftcore/.
Packages/com.craftworks.craftcore/
├── Runtime/
│ ├── Api/ # IApiClient, ApiClientFactory, OpenAIClient, AnthropicClient, GoogleAIClient
│ └── Core/ # CraftCoreSettings, CraftCoreAI, ApiProvider, ApiUsageTracker, CraftCoreProduct
├── Editor/
│ ├── Hub/ # CraftCore Hub window (central dashboard)
│ └── ModelRegistry # Model fetching and caching
└── package.json
Verify Installation
- Open Tools > CraftWorks > CraftCore > Hub.
- The CraftCore Hub should open showing the Dashboard and APIs tabs.
- If the menu item is missing, check that the package imported correctly.
Assembly Definitions
| Assembly | Name | Namespace | Platforms |
|---|---|---|---|
| Runtime | CraftWorks.CraftCore.Runtime | CraftCore, CraftCore.Api | All |
| Editor | CraftWorks.CraftCore.Editor | CraftCore.Editor | Editor only |
To call CraftCore APIs from your own scripts, add CraftWorks.CraftCore.Runtime as a reference in your assembly definition.