海淀天下城电子沙盘单机版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
585 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class SecondNodeObject : IDeepCopy
{
public int nodeID;
public string nodeName;
public string nodeDetail;
public int ParentID;
public int order;
public object DeepCopy()
{
var newNode = new SecondNodeObject();
newNode.nodeID = nodeID;
newNode.nodeName = nodeName;
newNode.nodeDetail = nodeDetail;
newNode.ParentID = ParentID;
return newNode;
}
}
interface IDeepCopy
{
object DeepCopy();
}