First commit 🎉
This commit is contained in:
commit
43ea213f9b
728 changed files with 37080 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
extends TextureButton
|
||||
|
||||
@export var command: SierraCommands.Commands = 0
|
||||
|
||||
|
||||
#region Godot ######################################################################################
|
||||
func _ready() -> void:
|
||||
toggled.connect(on_toggled)
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public #####################################################################################
|
||||
func on_toggled(is_pressed: bool) -> void:
|
||||
if is_pressed:
|
||||
PopochiuUtils.e.current_command = command
|
||||
|
||||
|
||||
#endregion
|
Loading…
Add table
Add a link
Reference in a new issue