Added IExecutable and ISlotContainer interface.

Changed SlotContainerNode to ExecutableNode
This commit is contained in:
Misaki
2024-11-05 02:25:15 +09:00
parent 7eec130b39
commit c853994bf5
51 changed files with 443 additions and 400 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reflection;
using UnityEngine;
namespace Misaki.GraphView
@@ -50,12 +49,12 @@ namespace Misaki.GraphView
public ReadOnlyCollection<SlotData> LinkedSlotData => _linkedSlotData.AsReadOnly();
[SerializeReference]
public SlotContainerNode owner;
public DataNode owner;
public SlotData slotData;
public object value;
public Slot(SlotContainerNode owner, SlotData slotData)
public Slot(DataNode owner, SlotData slotData)
{
this.owner = owner;
this.slotData = slotData;