Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PrefabOverride

Class with information about a given override on a Prefab instance.
Read time 1 minuteLast updated 11 days ago

Definition

public abstract class PrefabOverride

Methods

Method

Description

ApplyApplies the override to the Prefab Asset at the given path.
FindApplyTargetAssetObjectFinds the object in the Prefab Asset at the given path which will be applied to.
GetAssetObjectReturns the asset object of the override in the outermost Prefab that the Prefab instance comes from.
RevertReverts the override on the Prefab instance.