utopia-rise / godot-kotlin-native

Kotlin bindings for Godot Engine
MIT License
290 stars 16 forks source link

"signal" prefix is not dropped when registering signal name to Godot #172

Closed raniejade closed 4 years ago

raniejade commented 4 years ago

Version: master-merge

OS/device including version: n/a

Issue description: When creating a signal one of its requirement is to have the signal prefix on its name - the prefix is supposed to be dropped when registering it to Godot.

@RegisterSignal
val signalReverseChanged by signal<Boolean>("reverse")

The above signal should be registerd as reverseChanged in Godot, however with the current state of master-merge it still has the signal prefix.

Steps to reproduce: Just create any signal and watch the registered signal in the Godot editor.

Minimal reproduction project: n/a