Files
SemesterGameJam2022/scripts/3DUI/dreieck.gd
2022-12-11 08:57:30 +01:00

8 lines
223 B
GDScript

extends Node3D
func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
print("Start Game")