Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseplainGameObjects | The array of GameObjects that will be converted to Prefab instances. |
prefabAssetRoot | The Prefab Asset used to create the Prefab instances from. |
settings | Settings to control the conversion. |
mode | Using UserAction will record undo and show dialogs if needed. |
Convert an array of GameObjects to Prefab instances of the given Prefab Asset.
This function is similar to the ConvertToPrefabInstance method, except it will perform the operation on each of the GameObjects in the input.