Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InstantiateAttachedAsset(Object)

Instantiates an asset that is referenced by a Prefab and use it on the Prefab instance.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. InstantiateAttachedAsset is deprecated
public static Object InstantiateAttachedAsset(Object targetObject)

Parameters

targetObject

Returns

Type

Description

Object