Asset<T>.

Instantiate(Transform) Method

Summary

Clones the specified asset and returns the clone. Uses UnityEngine.Object.Instantiate(UnityEngine.Object,UnityEngine.Transform). In the Unity Editor, it uses PrefabUtility.InstantiatePrefab instead.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
Asset<T>

Syntax

public T Instantiate(Transform parent)

Parameters

Name Type Description
parent Transform

Return Value

Type Description
T