기술 자료

Unity Engine

Unity Engine

RevertAddedComponent(Component, InteractionMode)

Removes this added component on a Prefab instance.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.