# Apply(string, InteractionMode)

> See: PrefabOverride.Apply().

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.3/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor

```csharp
public override void Apply(string prefabAssetPath, InteractionMode mode)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path of the Prefab Asset that the override should be applied to.**** (\[InteractionMode]\(/engine/6000.3/script-reference/unityeditor/interactionmode)): The interaction mode for this action.

### Remarks

Additional Resources: [PrefabUtility.ApplyRemovedGameObject](/engine/6000.3/script-reference/unityeditor/prefabutility/applyremovedgameobject.md).
