Skip to content

Commit

Permalink
temp: c
Browse files Browse the repository at this point in the history
  • Loading branch information
akorzunin committed Aug 21, 2024
1 parent 8c783a7 commit fdc4631
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/models/icosahedron/test/variant_test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ var G: Globals = Globals.new()
self.add_child(new_figure)
new_figure.owner = get_tree().edited_scene_root
print_debug(new_figure.shader_type)
print_debug(G.tw)

@export var b := false:
set(val):
for i in self.get_children():
remove_child(i)

@export var c := 0:
set(val):
c = val
var a : Icosahedron = get_child(0)
print_debug(a)
a.shader_type = val

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
Expand Down

0 comments on commit fdc4631

Please sign in to comment.