Files
com.misaki.graph-view/Runtime/Contracts/Nodes/ISlotContainer.cs
Misaki d3c5968a80 Changed Slot in RelayNode to ProxySlot;
Changed PullData and PushData from SlotExtension to ISlot;

Added BackTraceExecutableNode;

Removed IExecutable from RelayNode;
2024-11-10 12:28:12 +09:00

18 lines
647 B
C#

namespace Misaki.GraphView
{
public interface ISlotContainer
{
/// <summary>
/// Get the slot by the index and direction.
/// </summary>
/// <param name="index"> <see cref="int"/> Index of the slot</param>
/// <param name="direction"> <see cref="SlotDirection"/> Direction of the slot </param>
/// <returns> <see cref="ISlot"/> The slot that matches the index and direction </returns>
public ISlot GetSlot(int index, SlotDirection direction);
/// <summary>
/// Unlink all the slots of the node.
/// </summary>
public void UnlinkAllSlots();
}
}