Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | bgegg |
it is working like same
and ,is_action_just_pressed is only one frame excution, can i use keycode for this?
func _process(delta):
if Input.is_key_pressed(KEY_A):#キーコードで指定
print("is_key_pressed")
if Input.is_action_pressed("ui_down"):#インプットマップで指定
print("is_action_pressed")
if Input.is_action_just_pressed("ui_up"):#プロセス内でも1フレームだけ実行する
print("is_action_just_pressed")