GodotComponentTest/components/InteractionComponent.cs

15 lines
354 B
C#

using Godot;
namespace GodotComponentTest.components;
public class InteractionComponent: Component
{
[Signal]
delegate void InteractionStart(Entity owningEntity, Entity targetEntity);
[Signal]
delegate void InteractionEnd(Entity owningEntity, Entity targetEntity);
public Entity OwningEntity;
public Entity TargetEntity;
}