Ejemplo n.º 1
0
 private void _event_exit(Area2D area)
 {
     foreach (Node cache in GetNode <Node2D>("/root/Game").GetChildren())
     {
         if (cache.Name.BeginsWith("GravityArea"))
         {
             Area2D grav = (Area2D)cache;
             grav.Call("_on_Player_exit_area", this);
         }
         Console.Out.WriteLine(cache);
     }
     Console.Out.WriteLine("Es regt rem esde");
     //EmitSignal(nameof(exit_area), this);
 }