Add prefix _ for unused parameter

This commit is contained in:
Moe Poi ~ 2023-10-18 11:10:07 +07:00
parent f2086f6360
commit 4906768091

View file

@ -6,7 +6,7 @@ var speed : int = 0
var damage : int = 0 var damage : int = 0
var dir = 0 var dir = 0
func _physics_process(delta): func _physics_process(_delta):
var move_dir = Vector2(1,0).rotated(dir) var move_dir = Vector2(1,0).rotated(dir)
global_position += (move_dir * speed) global_position += (move_dir * speed)