2025-05-13 19:22:01 +08:00

29 lines
548 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using EventParts;
using Godot;
using Godot.Bridge;
using Godot.NativeInterop;
[ScriptPath("res://Scripts/Events/EventParts/DoSignal.cs")]
public partial class DoSignal : Node, EventPart
{
[Signal]
public delegate void DoEventHandler();
public EventController parent { get; set; }
public bool parallel { get; set; }
public Coroutine routine { get; set; }
public IEnumerator Routine()
{
EmitSignal(SignalName.Do);
yield break;
}
}