Apply
Applies the override to the Prefab Asset at the given path.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
Apply(string, InteractionMode)
Applies the override to the Prefab Asset at the given path.
public abstract void Apply(string prefabAssetPath, InteractionMode mode)
Parameters
Remarks
If no asset path is provided, the override is applied to the outermost Prefab available.
Apply()
Applies the override to the Prefab Asset at the given path.
public void Apply()
Remarks
If no asset path is provided, the override is applied to the outermost Prefab available.
Apply(string)
Applies the override to the Prefab Asset at the given path.
public void Apply(string prefabAssetPath)
Parameters
The path of the Prefab Asset to apply to.
Remarks
If no asset path is provided, the override is applied to the outermost Prefab available.
Apply(InteractionMode)
Applies the override to the Prefab Asset at the given path.
public void Apply(InteractionMode mode)
Parameters
Remarks
If no asset path is provided, the override is applied to the outermost Prefab available.