gd: added input addon
This commit is contained in:
12
systems/inputs/input_system.gd
Normal file
12
systems/inputs/input_system.gd
Normal file
@ -0,0 +1,12 @@
|
||||
extends Node3D
|
||||
|
||||
@export var move:GUIDEAction
|
||||
@export var rotate_player:GUIDEAction
|
||||
@export var walk_mode:GUIDEMappingContext
|
||||
|
||||
func _ready() -> void:
|
||||
GUIDE.enable_mapping_context(walk_mode)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
# print(move.value_axis_3d)
|
||||
pass
|
Reference in New Issue
Block a user