public void OnBeforeSerialize() { m_SerializableNodes = SerializationHelper.Serialize(GetNodes <INode>()); m_SerializableEdges = SerializationHelper.Serialize <IEdge>(m_Edges); m_SerializedProperties = SerializationHelper.Serialize <INodeProperty>(m_Properties); }