Started Functionality of 3DUI

This commit is contained in:
Arthur
2022-12-11 08:57:30 +01:00
parent 1d662e0c9e
commit d6665c4995
2 changed files with 19 additions and 2 deletions

7
scripts/3DUI/dreieck.gd Normal file
View File

@@ -0,0 +1,7 @@
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")