PrefabUtility.RevertAddedComponent

Cambiar al Manual
public static void RevertAddedComponent (Component component, InteractionMode action);

Parámetros

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

Descripción

Removes this added component on a Prefab instance.

After the revert action, the component no longer exists.