15 lines
360 B
C#
15 lines
360 B
C#
using Godot;
|
|
|
|
namespace GodotComponentTest.components;
|
|
|
|
public class InteractionComponent: Component
|
|
{
|
|
[Signal]
|
|
delegate void InteractionStart(Spatial owningEntity, Spatial targetEntity);
|
|
|
|
[Signal]
|
|
delegate void InteractionEnd(Spatial owningEntity, Spatial targetEntity);
|
|
|
|
public Spatial OwningEntity;
|
|
public Spatial TargetEntity;
|
|
} |