Added index export to the ui windows module.

This commit is contained in:
Relintai 2020-09-22 16:27:44 +02:00
parent 392cca545b
commit c6e4c8f4f0
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ class_name UIWindowModule
export(PackedScene) var character_scene : PackedScene
export(Texture) var opener_button_texture : Texture
export(int) var index : int = -1
func on_request_instance(what : int, node : Node) -> void:
if what == DataManager.PLAYER_UI_INSTANCE:

View File

@ -9,3 +9,4 @@ script = ExtResource( 1 )
enabled = true
character_scene = ExtResource( 2 )
opener_button_texture = ExtResource( 3 )
index = 0