public override void Redo()
    {
        VCComponentData data = VCEditor.s_Scene.m_IsoData.m_Components[m_Index];

        data.Import(m_NewData.Export());
        data.UpdateEntity(true);
    }
Exemple #2
0
    public static VCComponentData Create(EVCComponent type, byte[] buffer)
    {
        VCComponentData cdata = Create(type);

        if (cdata != null)
        {
            cdata.Import(buffer);
        }
        return(cdata);
    }