blob: ac0885385ea59c33289b4a8b660a04e5dea49a84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
tool
extends PanelContainer
export (NodePath) var p_lbl_idx
export (NodePath) var p_lbl_tex
export (NodePath) var p_lbl_width
export (NodePath) var p_lbl_flip
func set_idx(i:int):
get_node(p_lbl_idx).text = "IDX: %s" % i
func set_texture_idx(i:int):
get_node(p_lbl_tex).text = "Texture: %s" % i
func set_width(f:float):
get_node(p_lbl_width).text = "Width: %s" % f
func set_flip(b:bool):
get_node(p_lbl_flip).text = "Flip: %s" % b
|