State machine and crosshair
This commit is contained in:
parent
7d30fa63d1
commit
a32ac09b04
12 changed files with 116 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ var crouched: bool = false:
|
|||
|
||||
var potential_crouched: bool = crouched
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
func _process(_delta: float) -> void:
|
||||
if potential_crouched != crouched:
|
||||
crouched = potential_crouched
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue