-
-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Labels
bugc: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScript
Description
#[derive(GodotClass)]
#[class(base = Node)]
#[allow(dead_code)]
struct MyStruct {
#[export(range = (0.05, 1.0, 0.05))]
foo: f32,
}This fails with error: expected identifier on the 3rd number.
The gdext docs don't say how to use step size in range at all, but I would awfully like if I was able to do this.
If it is possible, it would be nice if this was documented.
If it's not possible, it would be nice if it was implemented.
Metadata
Metadata
Assignees
Labels
bugc: registerRegister classes, functions and other symbols to GDScriptRegister classes, functions and other symbols to GDScript