Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Cannot get Spriteplayer when class name is SpritePlayer #4

Open
al1-ce opened this issue Nov 5, 2022 · 1 comment
Open

Cannot get Spriteplayer when class name is SpritePlayer #4

al1-ce opened this issue Nov 5, 2022 · 1 comment

Comments

@al1-ce
Copy link
Member

al1-ce commented Nov 5, 2022

It seems that godot internally expects class with wierd capitalisation

@Superbelko
Copy link
Collaborator

It could be really how bindings works, when I was messing with that I haven't had any issues with script name cases.

godot-d however translates between naming schemes when passing stuff back and forth.

However one can use @Rename UDA to force a specific name in many cases.

Needs more testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants