player.tscn: scholar of the first bullet casings

This commit is contained in:
Haze Weathers 2023-05-08 01:00:38 -04:00
parent 79cbd62a69
commit bc57ba4171
45 changed files with 1429 additions and 113 deletions

View file

@ -3,8 +3,11 @@ extends Tree
var target: StateChart = null
func _init() -> void:
set("custom_styles/bg", StyleBoxEmpty.new())
func _physics_process(delta: float) -> void:
if target is StateChart:
if target is StateChart and visible:
clear()
var root_state = target.get_child(0)
if root_state is State: