Replies: 1 comment 1 reply
-
GDScript gives an error appropriately for this situation, so this is more like asking for a bug-fix rather than a feature. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First experience with Godot. I've heard about the Export attribute so I tried adding some over the auto generated "Speed" and "JumpVelocity" variables on a C# script inheriting from CharacterBody3D.
But after returning to the engine I wasn't able to see those variables in the inspector.
I've tried to rebuild the solution and restart the engine but still nothing.
I've finally read my code again and found out those variables are marked as const.
It would be nice to get an error or at least a warning when trying to export const values.
Beta Was this translation helpful? Give feedback.
All reactions