Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Apply

Applies the override to the Prefab Asset at the given path.
Read time 1 minuteLast updated 10 days ago

Definition

Apply(string, InteractionMode)

Applies the override to the Prefab Asset at the given path.
public abstract void Apply(string prefabAssetPath, InteractionMode mode)

Parameters

prefabAssetPath

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()

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

prefabAssetPath

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.