Exemplo n.º 1
0
 public virtual void OnBeforeSerialize()
 {
     if (graph != null)
     {
         m_SerializedGraph = SerializationHelper.Serialize(graph, false);
     }
 }
Exemplo n.º 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);
 }