Пример #1
0
        //! serializes the entity to/from a PropertyStream
        public override void Serialize(PropertyStream stream)
        {
            base.Serialize(stream);

            m_bEnabled = stream.Serialize<bool>("Enabled");
            m_bVisible = stream.Serialize<bool>("Visible");

            stream.SerializeReference("Visitor", m_VisitorRef);
        }
        //! serializes the entity to/from a PropertyStream
        public override void Serialize(PropertyStream stream)
        {
            base.Serialize(stream);

            stream.SerializeReference("Material", MaterialRef);
        }