added text input, started adding label button
This commit is contained in:
19
AGUI.StackedUI/agui.text_input.gd
Normal file
19
AGUI.StackedUI/agui.text_input.gd
Normal file
@@ -0,0 +1,19 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal buttonPressed
|
||||
signal buttonReleased
|
||||
signal buttonUpdated
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var baseColor : Color
|
||||
@export var pressedColor : Color
|
||||
@export var text : String
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
$StaticBody3D/Label3D.text = text
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor)
|
||||
print(baseColor,pressedColor)
|
||||
Reference in New Issue
Block a user