RevertAddedComponent(Component, InteractionMode)
Removes this added component on a Prefab instance.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void RevertAddedComponent(Component component, InteractionMode action)
Parameters
The added component on the Prefab instance to revert.
The interaction mode for this action.
Remarks
After the revert action, the component no longer exists.