Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemovedGameObject

Class with information about a GameObject that has been removed from a Prefab instance.
Read time 1 minuteLast updated 4 days ago

Definition

public class RemovedGameObject : PrefabOverride

Remarks

Properties

Property

Description

assetGameObjectThe GameObject in the Prefab Asset that has been removed in the Prefab instance.
parentOfRemovedGameObjectInInstanceThe parent of the removed GameObject in the instance.

Methods

Method

Description

ApplySee: PrefabOverride.Apply().
GetAssetObjectSee PrefabOverride.GetAssetObject().
RevertRestore the removed GameObject to the Prefab instance. See PrefabOverride.Revert().

Inheritance