cleanups
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
extends CanvasLayer
|
||||
|
||||
@onready var bottle_service = $Control/BottleService
|
||||
var timer = 0
|
||||
const clear_time = 5
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
func message(msg: String, title: String = ""):
|
||||
var popup = RichTextLabel.new()
|
||||
popup.custom_minimum_size = Vector2(200,100)
|
||||
@@ -24,12 +19,6 @@ func message(msg: String, title: String = ""):
|
||||
close.pressed.connect(_on_close_pressed.bind(close))
|
||||
popup.add_child(close)
|
||||
bottle_service.add_child(popup)
|
||||
timer = 0
|
||||
|
||||
func _process(delta):
|
||||
timer += delta
|
||||
#$"Control/HFlowContainer/SubViewportContainer/SubViewport/Camera3D/Item Position".get_child(0).rotation.y += delta
|
||||
#$Control/SubViewportContainer/SubViewport/Camera3D/sleutel.rotation.y += delta
|
||||
|
||||
func add_item(mesh: Node):
|
||||
var subviewport = preload("res://GUI-item.tscn").instantiate()
|
||||
|
||||
Reference in New Issue
Block a user