Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

PrefabUtility.ConnectGameObjectToPrefab

public static GameObject ConnectGameObjectToPrefab(GameObject go, GameObject sourcePrefab);

Description

Connects the source prefab to the game object.

Did you find this page useful? Please give it a rating: