added a video player, added a GridContainer
This commit is contained in:
@@ -15,3 +15,6 @@ signal buttonUpdated
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor,char)
|
||||
print(baseColor,pressedColor)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
$StaticBody3D/Label3D.text = char
|
||||
|
||||
19
AGUI.Scripts/AGUI.Root/AGUI.TextButton3D.gd
Normal file
19
AGUI.Scripts/AGUI.Root/AGUI.TextButton3D.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 _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor)
|
||||
print(baseColor,pressedColor)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
$Label3D.text = text
|
||||
|
||||
1
AGUI.Scripts/AGUI.Root/AGUI.TextButton3D.gd.uid
Normal file
1
AGUI.Scripts/AGUI.Root/AGUI.TextButton3D.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cte7rrujueh10
|
||||
Reference in New Issue
Block a user