public void FromUnityMesh(UnityEngine.Mesh mesh, Transform transform) { if (!mesh.isReadable) { UnityEngine.Debug.LogWarning("Unable to edit mesh, mesh is not readable!"); } Transform = transform; OriginalMesh = mesh; Populate(mesh); undoSystem = new UndoSystem(); }