Skip to content

Commit

Permalink
Fix @export_range radians example
Browse files Browse the repository at this point in the history
Have parameters in degrees because that's what is shown in editor.
  • Loading branch information
aXu-AP committed Sep 23, 2023
1 parent c12d635 commit 884357b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gdscript/doc_classes/@GDScript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
@export_range(0, 100, 1, "or_greater") var power_percent
@export_range(0, 100, 1, "or_greater", "or_less") var health_delta

@export_range(-3.14, 3.14, 0.001, "radians") var angle_radians
@export_range(-180, 180, 0.1, "radians") var angle_radians
@export_range(0, 360, 1, "degrees") var angle_degrees
@export_range(-8, 8, 2, "suffix:px") var target_offset
[/codeblock]
Expand Down

0 comments on commit 884357b

Please sign in to comment.