11 lines
348 B
GDScript
11 lines
348 B
GDScript
extends Area3D
|
|
|
|
var clicks_to_pop : int = 3
|
|
var size_increase : float = 0.2
|
|
var score_to_give : int = 1
|
|
|
|
# If mouse is left click when pressed
|
|
func _on_input_event(camera, event, event_position, normal, shape_idx):
|
|
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed :
|
|
print ("Increase Balloon Size")
|