mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 19:15:54 +00:00
Tabbed inventory
This commit is contained in:
parent
c81a92679b
commit
6d7282f5cb
214 changed files with 9329 additions and 186 deletions
12
addons/resources_spreadsheet_view/editor_icon_button.gd
Normal file
12
addons/resources_spreadsheet_view/editor_icon_button.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@tool
|
||||
extends Button
|
||||
|
||||
@export var icon_name := "Node" :
|
||||
set(v):
|
||||
icon_name = v
|
||||
if has_theme_icon(v, "EditorIcons"):
|
||||
icon = get_theme_icon(v, "EditorIcons")
|
||||
|
||||
|
||||
func _ready():
|
||||
self.icon_name = (icon_name)
|
||||
Loading…
Add table
Add a link
Reference in a new issue