tag
#wrong-approach
4 items (4 fixes)
fixes
✓ 26.07
"Building a draggable slider with click-to-jump and drag-to-scrub"
No native drag helper exists for PanelComponent sliders — use the engine's SliderControl pattern: MousePanelEvent.LocalPosition over track width, with pointer-events routing.
razorinput
✓ 26.07
"Engine ships built-in McpTool source as readable C# — read it before writing your own"
The engine ships its built-in [McpTool]s as full C# source, not compiled DLLs — check addons/tools/Code/Mcp/*.cs for canonical patterns before inventing your own.
editormcp
✓ 26.07
"No public per-action analog trigger axis — triggers are digital-only"
GamepadCode-bound trigger actions are read as digital threshold presses only — there's no smooth 0..1 analog read per action. Use stick axes for continuous control.
inputgamepad
✓ 26.07
"Runtime textures for UI panels must be assigned from C#"
SCSS background-image only resolves asset paths — runtime Texture objects must be assigned via Panel.Style.BackgroundImage in OnTreeBuilt.
uitexture