1234567891011121314 |
- extends TextureRect
- export (Array, Texture) var pictures
- func display(index: int) -> void:
- assert(index >= 0, "Index must be positive")
- assert(index < pictures.size(), "Index must be within bounds")
- texture = pictures[index]
- func _on_lab_selected(index: int) -> void:
- display(index)
|