Add cap sprite to child scene and update project configuration

This commit is contained in:
2025-04-26 03:52:45 +02:00
parent d95176fba0
commit 0c1192536c
374 changed files with 11968 additions and 1276 deletions

View File

@@ -0,0 +1,30 @@
@tool
@icon("res://addons/guide/guide_mapping_context.svg")
class_name GUIDEMappingContext
extends Resource
const GUIDESet = preload("guide_set.gd")
## The display name for this mapping context during action remapping
@export var display_name:String:
set(value):
if value == display_name:
return
display_name = value
emit_changed()
## The mappings. Do yourself a favour and use the G.U.I.D.E panel
## to edit these.
@export var mappings:Array[GUIDEActionMapping] = []:
set(value):
if value == mappings:
return
mappings = value
emit_changed()
func _editor_name() -> String:
if display_name.is_empty():
return resource_path.get_file()
else:
return display_name