public override void Redo() { VCComponentData data = VCEditor.s_Scene.m_IsoData.m_Components[m_Index]; data.Import(m_NewData.Export()); data.UpdateEntity(true); }
public static VCComponentData Create(EVCComponent type, byte[] buffer) { VCComponentData cdata = Create(type); if (cdata != null) { cdata.Import(buffer); } return(cdata); }