文档

Unity Engine

Unity Engine

InstantiateAttachedAsset(Object)

Instantiates an asset that is referenced by a Prefab and use it on the Prefab instance.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

targetObject

Returns

Type

Description

Object