73 lines
1.9 KiB
C#
73 lines
1.9 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using Deconstruction.Element;
|
|||
|
|
using UnityEngine;
|
|||
|
|
using XericLibrary.Runtime.Debuger;
|
|||
|
|
using XericLibrary.Runtime.MacroLibrary;
|
|||
|
|
using Random = System.Random;
|
|||
|
|
|
|||
|
|
namespace SesothoLine
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// <20>㣬<EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
/// </summary>
|
|||
|
|
public class TerminalPoint : Deconstruction.Element.ContactPoint,
|
|||
|
|
ILinkconfidentPe // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
{
|
|||
|
|
private LinkedListNode<PlacementBase> _linkNode;
|
|||
|
|
|
|||
|
|
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|
|||
|
|
// <20><><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD>һ<EFBFBD><D2BB>λ<EFBFBD><CEBB>
|
|||
|
|
// private void Update()
|
|||
|
|
// {
|
|||
|
|
// MacroDebugDraw.DrawDownArrow(transform.position + MacroMath.RandomVector3(0.1f, Identifier), Color.green);
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region ʵ<EFBFBD><EFBFBD> - ILinkconfidentPe
|
|||
|
|
|
|||
|
|
public bool GetLinkedNode(out LinkedListNode<PlacementBase> node)
|
|||
|
|
{
|
|||
|
|
if (_linkNode == null)
|
|||
|
|
{
|
|||
|
|
node = null;
|
|||
|
|
return false;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
node = _linkNode;
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void SetLinkedNode(LinkedListNode<PlacementBase> node)
|
|||
|
|
{
|
|||
|
|
_linkNode = node;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region <EFBFBD><EFBFBD>д - ISerializablePost
|
|||
|
|
|
|||
|
|
public override SerializerHelper.Type.SerializeUnion SerializedOccurs()
|
|||
|
|
{
|
|||
|
|
return base.SerializedOccurs();
|
|||
|
|
}
|
|||
|
|
public override bool CheckDeserializeUnion(SerializerHelper.Type.SerializeUnion context)
|
|||
|
|
{
|
|||
|
|
return base.CheckDeserializeUnion(context);
|
|||
|
|
}
|
|||
|
|
public override void DeserializeOccurs(SerializerHelper.Type.SerializeUnion context)
|
|||
|
|
{
|
|||
|
|
base.DeserializeOccurs(context);
|
|||
|
|
}
|
|||
|
|
public override void DeserializeHysteresisOccurs(SerializerHelper.Type.SerializeUnion context)
|
|||
|
|
{
|
|||
|
|
base.DeserializeHysteresisOccurs(context);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|