17 lines
444 B
GDScript
17 lines
444 B
GDScript
@tool
|
|
extends PopochiuRegion
|
|
|
|
|
|
#region Virtual ####################################################################################
|
|
func _on_character_entered(chr: PopochiuCharacter) -> void:
|
|
# This is optional. You can put here anything you want to happen when a
|
|
# character enters the area.
|
|
chr.modulate = tint
|
|
|
|
|
|
func _on_character_exited(chr: PopochiuCharacter) -> void:
|
|
# This is optional, too.
|
|
chr.modulate = Color.WHITE
|
|
|
|
|
|
#endregion
|