Version: 2019.1

PrefabUtility.RevertAddedComponent

Switch to Manual
public static void RevertAddedComponent (Component component, InteractionMode action);

Parameters

componentThe added component on the Prefab instance to revert.
actionThe interaction mode for this action.

Description

Removes this added component on a Prefab instance.

After the revert action, the component no longer exists.