2024-09-24 11:59:54 +08:00
|
|
|
extends TextureRect
|
2024-09-25 18:04:02 +08:00
|
|
|
class_name FightCharacterCard
|
2024-09-24 11:59:54 +08:00
|
|
|
@onready var n: Label = $TextureRect/n
|
|
|
|
@onready var icon: TextureRect = $TextureRect/TextureRect2/icon
|
2024-09-25 18:04:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
func _on_area_2d_area_entered(area: Area2D) -> void:
|
|
|
|
material.set_shader_parameter("width",10)
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
|
|
|
|
|
|
func _on_area_2d_area_exited(area: Area2D) -> void:
|
|
|
|
material.set_shader_parameter("width",0)
|
|
|
|
pass # Replace with function body.
|