devwinsoft/devian/12-ui-component-text
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install devwinsoft/devian/12-ui-component-textSKILL.md
12-ui-component-text
Status: ACTIVE AppliesTo: v11
Overview
Purpose
ST_GAME_TEXT 값을 TMP_Text 컴포넌트에 바인딩하는 UI 플러그인. UIComponentBase 초기화 시 즉시 텍스트를 적용하고, UIManager.messageSystem의 UI_MESSAGE.ReloadText를 구독하여 언어 변경 시 텍스트를 갱신한다.
SSOT
Code Path
Serialized Fields
| Field | Type | Description | |
|---|---|---|---|
_text | TMP_Text | 텍스트를 표시할 TMP 컴포넌트 | |
_textId | GAME_TEXT_ID | ST_GAME_TEXT 조회 키 |
API
Lifecycle
| Event | Action | |
|---|---|---|
onInit(Canvas) | applyText() 호출 + Subcribe(GetEntityId(), UI_MESSAGE.ReloadText, ...) | |
onPoolDespawned() | messageSystem?.UnSubcribe(GetEntityId()) — respawn 전 중복 구독 방지 | |
onDestroy() | messageSystem?.UnSubcribe(GetEntityId()) — ownerKey의 모든 핸들러 해제 |
내부 메서드
| Method | Description | |
|---|---|---|
applyText() | ST_GAME_TEXT.Get(_textId.Value) 결과를 _text.text에 할당. null/invalid 시 무동작. |
Handler 동작
- ReloadText handler:
Handler—applyText()호출,return false(구독 유지)
Dependencies
| Dependency | Location | |
|---|---|---|
UIManager.messageSystem | com.devian.foundation/Samples~/UIPackage/Runtime/Base/UIManager.cs | |
UI_MESSAGE | com.devian.foundation/Samples~/UIPackage/Runtime/Base/UIMessageSystem.cs | |
UnityEngine.EntityId (ownerKey via GetEntityId()) | Unity 내장 | |
ST_GAME_TEXT | com.devian.foundation/Samples~/GamePackage/Runtime/Generated/ST_GAME_TEXT.g.cs | |
GAME_TEXT_ID | com.devian.foundation/Samples~/GamePackage/Runtime/Generated/Game.g.cs | |
TMP_Text | Unity.TextMeshPro |
Reference
- Parent:
../00-overview/SKILL.md - Base: 10-ui-component-base
- Index:
skills/devian-unity/23-ui-package/SKILL.md - UIMessageSystem: 33-ui-message-system/SKILL.md
- UIManager: 10-ui-manager/SKILL.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devian-unity/23-ui-package/20-ui-components/12-ui-component-text/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/devwinsoft/devian/12-ui-component-text)