File tree 1 file changed +17
-16
lines changed
tutorials/scripting/gdscript
1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -775,28 +775,29 @@ We suggest to organize GDScript code this way:
775
775
01. @tool, @icon, @static_unload
776
776
02. class_name
777
777
03. extends
778
- 04. ## doc comment
779
-
780
- 05. signals
781
- 06. enums
782
- 07. constants
783
- 08. static variables
784
- 09. @export variables
785
- 10. remaining regular variables
786
- 11. @onready variables
787
-
788
- 12. _static_init()
789
- 13. remaining static methods
790
- 14. overridden built-in virtual methods:
778
+ 04. uses
779
+ 05. ## doc comment
780
+
781
+ 06. signals
782
+ 07. enums
783
+ 08. constants
784
+ 09. static variables
785
+ 10. @export variables
786
+ 11. remaining regular variables
787
+ 12. @onready variables
788
+
789
+ 13. _static_init()
790
+ 14. remaining static methods
791
+ 15. overridden built-in virtual methods:
791
792
1. _init()
792
793
2. _enter_tree()
793
794
3. _ready()
794
795
4. _process()
795
796
5. _physics_process()
796
797
6. remaining virtual methods
797
- 15 . overridden custom methods
798
- 16 . remaining methods
799
- 17 . subclasses
798
+ 16 . overridden custom methods
799
+ 17 . remaining methods
800
+ 18 . subclasses
800
801
801
802
And put the class methods and variables in the following order depending on their access modifiers:
802
803
You can’t perform that action at this time.
0 commit comments