Beispiel #1
0
 public virtual void OnBeforeSerialize()
 {
     if (graph != null)
     {
         m_SerializedGraph = SerializationHelper.Serialize(graph, false);
     }
 }
Beispiel #2
0
 public void OnBeforeSerialize()
 {
     m_SerializeableSourceGraphGuid = SerializationHelper.Serialize(m_SourceGraphGuid, false);
     m_SerializableNodes            = SerializationHelper.Serialize <INode>(m_Nodes);
     m_SerializableEdges            = SerializationHelper.Serialize <IEdge>(m_Edges);
     m_SerilaizeableProperties      = SerializationHelper.Serialize <INodeProperty>(m_Properties);
     m_SerializableMetaProperties   = SerializationHelper.Serialize <INodeProperty>(m_MetaProperties);
 }