mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 20:55:54 +00:00
13 lines
202 B
C#
13 lines
202 B
C#
using Godot;
|
|
using System;
|
|
using System.Diagnostics;
|
|
|
|
public partial class Interactable : Area2D
|
|
{
|
|
[Export] public Activable Target { get; set; }
|
|
|
|
public void Activate()
|
|
{
|
|
Target?.Activate();
|
|
}
|
|
}
|