mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Added descriptions
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
extends Node3D
|
||||
|
||||
func _ready():
|
||||
self.get_node("play").hide()
|
||||
|
||||
func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
|
||||
self.scale = Vector3(1.5,1.5,1.5)
|
||||
self.get_node("play").show()
|
||||
if event is InputEventMouseButton:
|
||||
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
|
||||
print("Start Game")
|
||||
@@ -10,4 +14,5 @@ func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
|
||||
|
||||
|
||||
func _on_area_3d_mouse_exited():
|
||||
self.get_node("play").hide()
|
||||
self.scale = Vector3(1,1,1)
|
||||
|
||||
Reference in New Issue
Block a user