ドキュメント

Unity Engine

Unity Engine

RevertAddedComponent(Component, InteractionMode)

Removes this added component on a Prefab instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void RevertAddedComponent(Component component, InteractionMode action)

Parameters

component

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.