PrefabUtility.InstantiateAttachedAsset

public static Object InstantiateAttachedAsset(Object targetObject);

Description

Instantiate an asset that is referenced by a Prefab and use it on the Prefab instance.

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