21 lines
357 B
C#
21 lines
357 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using Godot;
|
|
using Godot.Bridge;
|
|
using Godot.NativeInterop;
|
|
|
|
[ScriptPath("res://Scripts/Events/EventCaller.cs")]
|
|
public partial class EventCaller : Node
|
|
{
|
|
[Signal]
|
|
public delegate void DoEventEventHandler();
|
|
|
|
|
|
public void CallEvent()
|
|
{
|
|
EmitSignal(SignalName.DoEvent);
|
|
}
|
|
|
|
}
|