Skip to content

t1k:unity:tof:core-editor

FieldValue
Moduletof
Version3.46.8
Effortmedium
Tools—

Keywords: editor-tooling, inspector, localization-sync, prefab-tools, script-define, theonefeature-core

/t1k:unity:tof:core-editor

Scope — this is a candidate index, not an inventory. This skill indexes one source folder. A feature can span Assets/TheOneFeature/, Packages/com.gdk.*, and sibling Assets/TheOne.* packages, and this skill will only show the folder it was built from. A capability missing here is not evidence that it is absent — verify against source (grep over a stated scope) before concluding anything does not exist. See The1Studio/theonekit-unity#350.

Editor-only tooling for TheOneFeature: the script-define symbol toggle UI (the mechanism that gates ~20 other tof-* asmdefs on/off), prefab import/replace/addressable-repack tools, per-feature localization key sync modules, and a project-auditor optimizer pass. TheOne.Features.Editor is a top-level sibling of Core/ and UI/, not nested under either.

class (namespace TheOne.Features.Editor unless noted)

  • ScriptDefineToolModule (ScriptDefineToolModule.cs) — the define-symbol toggle UI. Owns the manual DefineSymbolEntry list (X_FEATURES_TRACKING, X_SPINE, X_LIVES, X_IAP, X_GUILD, X_FRIEND, X_AUTHENTICATION[_FACEBOOK|_APPLE], X_PROFILE, X_LEADERBOARD, X_CLOUDSAVE, X_COMMUNICATION, X_FIRESTORE, X_FACEBOOK_SDK).
  • AddressableRepackToolModule (AddressableRepackToolModule.cs)
  • AutoImportPrefabsToolModule (AutoImportPrefabsToolModule.cs)
  • BoosterLocalizationSyncModule, DailyMissionLocalizationSyncModule, FTUELocalizationSyncModule, NotificationLocalizationSyncModule — per-feature localization key sync, all extend LocalizationSyncModuleBase
  • LocalizationKeyManagerModule, LocalizationToolModule
  • PrefabAddressableConfig, PrefabImportConfig (config assets for the import/repack tools)
  • PrefabReplacerToolModule (PrefabReplacerToolModule.cs)
  • ProjectAuditorOptimizerToolModule (ProjectAuditorOptimizerToolModule.cs)
  • TimeCheatToolModule (TimeCheatToolModule.cs)
  • CopyAbsolutePathMenuItem (namespace TheOne.Features.Utilities.Editor)
  • CreatePrefabVariantAtPath (namespace TheOne.Features.UI.Utilities)
  • TheOneFeaturePrefabToolEditor (namespace TheOne.PrefabTools.Editor), TheOneFeatureSpriteToolEditor (namespace Editor)

None detected.

  • PrefabAddressableConfig
  • PrefabImportConfig
  1. Reference package TheOneFeature in your project.
  2. Open ScriptDefineToolModule’s tab (see Hard rules) to enable/disable feature packages.
  3. Prefab/localization sync modules run as on-demand editor tools, not runtime services — no DI registration needed.

19 files at Assets/TheOneFeature/Editor/ (top level) plus a nested Migration/LitMotion/ asmdef. Two asmdefs: TheOne.Features.Editor and TheOne.Features.Editor.Migration.LitMotion.

Every X_* symbol found across Assets/TheOneFeature/** and Packages/** asmdefs, with how it can be turned on and what it actually gates. Machine-checked (0 unparseable asmdefs; note these files carry a UTF-8 BOM, so a naive JSON parse silently skips them and under-counts).

This table is about mechanism, not verdict. Whether a given symbol is on is per-project — resolve it yourself with the three-way check in Hard rules. What is stable across projects is which lever exists.

SymbolToggle in ScriptDefineToolModule?versionDefine providerasmdefs gated.cs gated by #if
X_NATIVE_GALLERYno— (none)213
X_FIRESTOREyescom.google.firebase.firestore111
X_GUILDyescom.theone.feature.guild.core71
X_FIREBASE_AUTHnocom.google.firebase.auth52
X_FIREBASE_COREnocom.google.firebase.app20
X_FRIENDyes— (none)20
X_COMMUNICATIONyes— (none)20
X_LIVESHELPnocom.theone.features.lives.help, …puzzle.ui.lives08
X_LOCALIZATIONnocom.unity.localization07
X_PROFILEyescom.theone.feature.profile.core06
X_LIVESyescom.theone.features.lives.core05
X_AUTHENTICATION_FACEBOOKyes— (none)05
X_FEATURES_TRACKINGyes— (none)04
X_IAPyes— (none)03
X_LEADERBOARDyescom.theone.feature.leaderboard.core03
X_SPINEyescom.esotericsoftware.spine.spine-unity02
X_AUTHENTICATION_APPLEyes— (none)02
X_FIREBASE_FUNCTIONSnocom.google.firebase.functions02
X_CLOUDSAVEyes— (none)01
X_AUTHENTICATIONyes— (none)00
X_FACEBOOK_SDKyes— (none)00
X_SOCIALnocom.theone.feature.friend.core00
X_SOFTMASKnocom.coffee.softmask-for-ugui00
X_FEATURES_EDITORnocom.theone.feature00
X_LITMOTION_MIGRATION_FROM_DOTWEENnocom.annulusgames.lit-motion.animation00

Three things this table exists to prevent:

  1. “It’s not in the toggle list, so it isn’t gated.” X_NATIVE_GALLERY has no toggle and no provider, yet gates 21 asmdefs — the largest gate in the package. It can only be set by hand in Player Settings.
  2. “It’s not in ProjectSettings.asset, so it’s off.” A versionDefine symbol never appears there and is still defined whenever its provider package is installed (X_SPINE, X_LOCALIZATION, X_SOFTMASK).
  3. “0 asmdefs gated, so it doesn’t matter.” Several symbols gate nothing at asmdef level but gate method bodies via #if in source — X_LIVESHELP (8 files), X_LOCALIZATION (7), X_PROFILE (6). The assembly builds; the behaviour silently disappears. That failure mode is harder to notice than a missing type, because nothing fails to compile.

Note the two columns are independent: a symbol can be reachable both ways (X_FIRESTORE, X_GUILD, X_LIVES, X_SPINE, X_PROFILE, X_LEADERBOARD are in the toggle list and have a provider package).

Not yet documented. This section was never filled in; it is a known gap, not a statement that the feature has no dependencies. Read the .asmdef next to the source folder above for the authoritative list.

No git history available (submodule may be uninitialized).

  • Path correction: the source is NOT nested under Core/ — Editor/ is a top-level sibling of Core/ and UI/ in this package. Verified on disk: Assets/TheOneFeature/Editor/ (contains Migration/LitMotion/, README.md, CHANGELOG.md, LOCALIZATION_README.md); Assets/TheOneFeature/Core/Editor/ does not exist.
  • ScriptDefineToolModule (ModuleName: "Script Define Symbols Manager") is a ToolModuleBase module, not a standalone [MenuItem] window — it is hosted inside the larger TheOne Feature editor tool window as one tab among several.
  • Three kinds of X_* symbol exist; the toggle list only covers one of them. Checking ProjectSettings.asset alone misclassifies the other two in both directions:
    KindSet byExampleAppears in scriptingDefineSymbols?
    Manual, with a toggleScriptDefineToolModule → PlayerSettings.SetScriptingDefineSymbolsForGroupX_IAP, X_CLOUDSAVEYes, once toggled
    Manual, no togglehand-edited Player Settings onlyX_NATIVE_GALLERYOnly if added by hand
    Auto versionDefinesasmdef versionDefines, satisfied by the package being installedX_LOCALIZATION, X_SPINE, X_SOFTMASKNo — never listed, yet still defined
    So: a symbol absent from scriptingDefineSymbols may still be live (a versionDefine whose
    package is installed), and a symbol absent from this module’s toggle list may still **gate real
    code** (X_NATIVE_GALLERY gates 21 asmdefs and has no toggle at all). Resolve a symbol by
    checking the asmdef defineConstraints/versionDefines and Player Settings, never one alone.
  • Toggling a symbol here only rewrites PlayerSettings.SetScriptingDefineSymbolsForGroup — it does not install the underlying package.
  • versionDefines are per-assembly, not global — the same symbol name can be defined in one assembly and undefined in another. X_LOCALIZATION is declared on TheOne.Features.Localization.Core but not on GameFoundation.Utilities, so com.gdk.core’s LocalizationHelper is inert (GetLocalizationString[Async] returns the raw key; add/remove-listener calls are no-ops) even in a project where localization demonstrably works inside TheOneFeature. Same symbol, opposite verdict, different assembly — so “is X defined?” is only answerable per assembly, never project-wide.
  • The toggle list is 15 entries, and that is the whole list. X_FEATURES_TRACKING, X_SPINE, X_LIVES, X_IAP, X_GUILD, X_FRIEND, X_AUTHENTICATION, X_AUTHENTICATION_FACEBOOK, X_AUTHENTICATION_APPLE, X_PROFILE, X_LEADERBOARD, X_CLOUDSAVE, X_COMMUNICATION, X_FIRESTORE, X_FACEBOOK_SDK. Anything else you see in a defineConstraints — X_NATIVE_GALLERY, X_LIVESHELP, X_LOCALIZATION, the three X_FIREBASE_* — has no toggle and must come from a package or a hand edit.
  • Dependency validation (SymbolDependencies) that enforces e.g. “X_AUTHENTICATION_FACEBOOK requires X_AUTHENTICATION” lives in Packages/com.gdk.core/Editor/Validator/Utils/ScriptDefineSymbolUtils.cs, a different package — not duplicated here.
  • Source: Assets/TheOneFeature/Editor/
  • Define-symbol dependency validator (separate package): Packages/com.gdk.core/Editor/Validator/Utils/ScriptDefineSymbolUtils.cs