Skip to content

Commit

Permalink
Updated Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkarin1029 committed May 31, 2023
1 parent 26626fa commit d3a0227
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Menus/AssitantInfo/Assistant Info.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tool
extends "res://addons/YHModAssistant/Menus/BaseMenu/BaseMenu.gd"



func _on_Back_pressed():
YHAGlobal.change_scene("Home")

6 changes: 5 additions & 1 deletion Menus/AssitantInfo/Assistant Info.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]

[ext_resource path="res://addons/YHModAssistant/Menus/BaseMenu/BaseMenu.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/YHModAssistant/Menus/AssitantInfo/Tabs/Credit/Credit.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/YHModAssistant/Menus/AssitantInfo/Tabs/Change Log/Change Log.tscn" type="PackedScene" id=3]
[ext_resource path="res://addons/YHModAssistant/Menus/AssitantInfo/Assistant Info.gd" type="Script" id=4]

[node name="Assistant Info" instance=ExtResource( 1 )]
script = ExtResource( 4 )

[node name="TabContainer" type="TabContainer" parent="VBoxContainer" index="0"]
margin_right = 640.0
Expand All @@ -28,3 +30,5 @@ margin_top = 340.0
margin_right = 640.0
margin_bottom = 360.0
text = "Home"

[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_Back_pressed"]
2 changes: 1 addition & 1 deletion Menus/AssitantInfo/Tabs/Credit/Credit.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

tool
extends Tabs


Expand Down

0 comments on commit d3a0227

Please sign in to comment.