Use upper-cased first letter at the start of comment sentences
This commit is contained in:
@ -3,12 +3,12 @@ extends ColorPickerButton
|
||||
|
||||
|
||||
func get_drag_data(pos):
|
||||
# use another colorpicker as drag preview
|
||||
# Use another colorpicker as drag preview
|
||||
var cpb = ColorPickerButton.new()
|
||||
cpb.set_color(get_color())
|
||||
cpb.set_size(Vector2(50, 50))
|
||||
set_drag_preview(cpb)
|
||||
# return color as drag data
|
||||
# Return color as drag data
|
||||
return get_color()
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
|
||||
extends Control
|
||||
|
||||
# Note for the reader:
|
||||
#
|
||||
# This demo conveniently uses the same names for actions and for the container nodes
|
||||
@ -9,9 +12,7 @@
|
||||
# action and the node, e.g.:
|
||||
# button.connect("pressed", self, "wait_for_input", [ button, action ])
|
||||
|
||||
extends Control
|
||||
|
||||
# member variables
|
||||
# Member variables
|
||||
var player_actions = [ "move_up", "move_down", "move_left", "move_right", "jump" ]
|
||||
var action # To register the action the UI is currently handling
|
||||
var button # Button node corresponding to the above action
|
||||
|
||||
@ -10,7 +10,7 @@ func _goto_scene():
|
||||
|
||||
|
||||
func _on_system_pressed():
|
||||
# will autodetect based on system, then fall back
|
||||
# Will autodetect based on system, then fall back
|
||||
# to english if not found
|
||||
_goto_scene()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user