First commit 🎉
This commit is contained in:
commit
43ea213f9b
728 changed files with 37080 additions and 0 deletions
17
addons/popochiu/engine/templates/region_template.gd
Normal file
17
addons/popochiu/engine/templates/region_template.gd
Normal file
|
@ -0,0 +1,17 @@
|
|||
@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
|
Loading…
Add table
Add a link
Reference in a new issue