# LayerSource.OtherMount record

> A layer source that's another mount's whole tree, so one game can search another's files as its own. The other mount has to be open already, so list the same requirement in the plan's Requires, which opens it first. Otherwise the mount fails with MountException naming the layer.

Namespace `EvilEngine.Mounts`, assembly `EvilEngine.Mounts`. Engine commit 4ff877b1.

```csharp
public sealed record LayerSource.OtherMount : LayerSource
```

A [layer source](/docs/api/layersource) that's another mount's whole tree, so one game can search another's files as its own. The other mount has to be open already, so list the same requirement in the plan's [Requires](/docs/api/mountplan#requires), which opens it first. Otherwise the mount fails with `MountException` naming the layer.

## Members

### LayerSource.OtherMount (constructor)

```csharp
public LayerSource.OtherMount(MountRequirement Requirement)
```

Makes the source from the requirement that picks the mount.

### Requirement (property)

```csharp
public MountRequirement Requirement { get; init; }
```

Which mount to lay: its game, and optionally the parts, platforms and builds it has to have.
