Manual     Reference     Scripting  
  
Scripting > Editor Enumerations > ReplacePrefabOptions   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • ReplacePrefabOptions
  • All Members
  • Values
  • ConnectToPrefab
  • Default
  • ReplaceNameBased
  • UseLastUploadedPrefabRoot

ReplacePrefabOptions.UseLastUploadedPrefabRoot  

ReplacePrefabOptions.UseLastUploadedPrefabRoot

Description

Automatically finds the prefab instance root of the provided game object and uses that as the root for the replaced prefab instead

of the root game object passed into ReplacePrefab