Orion input framework

From OrionUE/Orion_FreeEdition · View interactive version

Orion input framework is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use when Codex works on the reusable Unreal Engine input framework: CommonInputSystem, UInputSystemConfig, UInputSystemComponent, InputTag, InputAction, InputMappingContext, PawnData InputConfig, CorePawnControlComponent, OrionPawnControlComponent, GameFeatureAction_AddInputContextMapping, GameFeatu

How to use this skill

Skill file

Unreal Input Framework

本 Skill 用于在本框架中新增、排查或整理输入系统:Gameplay 输入、Ability 输入、GameFeature 输入注入、玩家改键、手柄图标、键鼠/手柄设置和相关配置。

详细说明:

references/input-framework.zh-CN.md

工作流

  1. 先分层:InputCore 负责 FKey,EnhancedInput 负责 UInputAction / UInputMappingContext,CommonInput 负责输入设备和 UI glyph,CommonInputSystem 负责把输入动作、InputTag、GAS 和改键设置接起来。
  2. 默认不要改 Source/GameCore;新业务输入优先放在 OrionGame 派生类或 Plugins/GameFeatures/<FeatureName> 的资产和 ActionSet 中。
  3. 新增 Native 输入时,从 OrionGame 的 PawnControl 派生层绑定 NativeInputActions;新增 Ability 输入时,维护 AbilityInputActions、AbilitySet 的 InputTag 和 GameFeature/PawnData 配置。
  4. 新增或修改 IMC 时,确认它是否通过 UGameFeatureAction_AddInputContextMapping 注册到玩家设置;只改 PawnData 的 InputConfig 不等于加载或注册 IMC。
  5. 改键、按键设置或手柄图标需求必须同时检查 UInputSystemUserSettings、UInputSystemPlayerMappableKeyProfile、UGameSettingInput、平台 ControllerData 和 CommonInput 当前手柄名。
  6. 配置相关改动必须核对 DefaultInput.ini、DefaultGame.ini 和目标平台 Config/<Platform>/<Platform>Game.ini。
  7. 实现后至少验证构建、PIE 输入、GameFeature 激活/反激活、改键保存/恢复、键鼠与手柄切换、UI glyph 和目标平台手柄行为。

路由

约束

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.