コード例 #1
0
    public override void Redo()
    {
        VCComponentData data = VCEditor.s_Scene.m_IsoData.m_Components[m_Index];

        data.Import(m_NewData.Export());
        data.UpdateEntity(true);
    }
コード例 #2
0
    public override void Redo()
    {
        VCComponentData data = VCEditor.s_Scene.m_IsoData.m_Components[m_Index];

        data.m_Position = m_NewPosition;
        data.m_Rotation = m_NewRotation;
        data.m_Scale    = m_NewScale;
        data.UpdateEntity(true);
    }