added text input, started adding label button
This commit is contained in:
15
AGUI.Scripts/AGUI.Root/AGUI.Bases.Button3D.gd
Normal file
15
AGUI.Scripts/AGUI.Root/AGUI.Bases.Button3D.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal buttonPressed
|
||||
signal buttonReleased
|
||||
signal buttonUpdated
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var baseColor : Color
|
||||
@export var pressedColor : Color
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor)
|
||||
print(baseColor,pressedColor)
|
||||
1
AGUI.Scripts/AGUI.Root/AGUI.Bases.Button3D.gd.uid
Normal file
1
AGUI.Scripts/AGUI.Root/AGUI.Bases.Button3D.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dwbx108724v25
|
||||
17
AGUI.Scripts/AGUI.Root/AGUI.CharacterButton3D.gd
Normal file
17
AGUI.Scripts/AGUI.Root/AGUI.CharacterButton3D.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal buttonPressed(char)
|
||||
signal buttonReleased
|
||||
signal buttonUpdated
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var baseColor : Color
|
||||
@export var pressedColor : Color
|
||||
@export var char : String
|
||||
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor,char)
|
||||
print(baseColor,pressedColor)
|
||||
1
AGUI.Scripts/AGUI.Root/AGUI.CharacterButton3D.gd.uid
Normal file
1
AGUI.Scripts/AGUI.Root/AGUI.CharacterButton3D.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://3m5f4lxd2x3c
|
||||
15
AGUI.Scripts/AGUI.Root/AGUI.IconButton3D.gd
Normal file
15
AGUI.Scripts/AGUI.Root/AGUI.IconButton3D.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal buttonPressed
|
||||
signal buttonReleased
|
||||
signal buttonUpdated
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var baseColor : Color
|
||||
@export var pressedColor : Color
|
||||
@export var icon : Texture2D
|
||||
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor,icon)
|
||||
print(baseColor,pressedColor)
|
||||
1
AGUI.Scripts/AGUI.Root/AGUI.IconButton3D.gd.uid
Normal file
1
AGUI.Scripts/AGUI.Root/AGUI.IconButton3D.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dkmw6hfq1nkrk
|
||||
17
AGUI.Scripts/AGUI.Root/AGUI.ToggleCharacterButton3D.gd
Normal file
17
AGUI.Scripts/AGUI.Root/AGUI.ToggleCharacterButton3D.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal buttonPressed(char)
|
||||
signal buttonReleased
|
||||
signal buttonUpdated
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var baseColor : Color
|
||||
@export var pressedColor : Color
|
||||
@export var char : String
|
||||
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
$StaticBody3D._initButton(baseColor,pressedColor,char)
|
||||
print(baseColor,pressedColor)
|
||||
@@ -0,0 +1 @@
|
||||
uid://d0up8mkp431mn
|
||||
Reference in New Issue
Block a user