BugMarkers are now loaded with their status intact.

This commit is contained in:
Jamie Greunbaum
2024-05-19 19:57:08 -04:00
parent 39d5834eb9
commit be16db4d76
4 changed files with 66 additions and 35 deletions
+8 -4
View File
@@ -13,12 +13,16 @@ enum BugStatus { NEUTRAL, UNRESOLVED, IN_PROGRESS, RESOLVED }
@export_group("")
@export var enable_info : bool = true : set = set_info_enabled
@onready var __arrow : MeshInstance3D = $Arrow as MeshInstance3D
@onready var __billboard : MeshInstance3D = $Billboard as MeshInstance3D
@onready var __info_collider : Area3D = $Billboard/Info as Area3D
var __arrow : MeshInstance3D
var __billboard : MeshInstance3D
var __info_collider : Area3D
func _ready() -> void:
func _enter_tree() -> void:
__arrow = $Arrow as MeshInstance3D
__billboard = $Billboard as MeshInstance3D
__info_collider = $Billboard/Info as Area3D
set_info_enabled(enable_info)
__set_marker_status(marker_status)