Type | Convention | Information |
---|---|---|
Files | snake_case |
score_label.gd |
Classes | PascalCase |
CharacterBody3D |
Nodes | PascalCase |
ScoreLabel |
Functions | snake_case |
Node.queue_free() |
Variables | snake_case |
Node3D.global_position |
Signals | snake_case |
Node3D.visibility_changed() |
Constants | ALL_CAPS |
Vector3.MODEL_LEFT |
Enumerations | PascalCase |
Node3D.RotationEditMode |
Enumeration Members | ALL_CAPS |
Node3D.RotationEditMode.ROTATION_EDIT_MODE_EULER |
Virtual Functions | _snake_case |
Node._physics_process() |
Private Functions | _snake_case |
_recalculate_path() |
Private Variables | _snake_case |
_counter |
Created
September 2, 2024 08:57
-
-
Save duruyao/2eef0866eaf9a58e233a4ad6c1d3746b to your computer and use it in GitHub Desktop.
Naming conventions for Godot projects programmed with GDScript.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment