您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
652 B
32 行
652 B
using System;
|
|
|
|
namespace UnityEngine.Graphing
|
|
{
|
|
[Serializable]
|
|
public class Edge : IEdge
|
|
{
|
|
[SerializeField]
|
|
private SlotReference m_OutputSlot;
|
|
[SerializeField]
|
|
private SlotReference m_InputSlot;
|
|
|
|
public Edge()
|
|
{}
|
|
|
|
public Edge(SlotReference outputSlot, SlotReference inputSlot)
|
|
{
|
|
m_OutputSlot = outputSlot;
|
|
m_InputSlot = inputSlot;
|
|
}
|
|
|
|
public SlotReference outputSlot
|
|
{
|
|
get { return m_OutputSlot; }
|
|
}
|
|
|
|
public SlotReference inputSlot
|
|
{
|
|
get { return m_InputSlot; }
|
|
}
|
|
}
|
|
}
|