RevertAddedGameObject(GameObject, InteractionMode)
Removes this added GameObject from a Prefab instance.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void RevertAddedGameObject(GameObject gameObject, InteractionMode action)
Parameters
The added GameObject on the Prefab instance to revert.
The interaction mode for this action.
Remarks
After the revert action, the GameObject and its children no longer exist.
This method also works if the added child GameObject is a Prefab instance.