I want the Dead () method to start when the fireball hits the slime (enemy)
however the player and fireball code is written in gdscript although this is not such a big problem I think the slime code is written in gdnative.
the fireball (Area2D) uses the "body_entered" signal, but how to use the instance method through a parameter and how to do it through Cross-language scripting, for a better understanding here is an example of how I tried to do it:
var slime_node = slime_script.new ()
var slime_dead = slime_node.Dead ()
func _on_Magic_Blast_body_entered (body):
if "Slime" in body.name: