Asset<T>.

Instantiate(Vector3, Quaternion, Transform) Method

Summary

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

Syntax

public T Instantiate(Vector3 position, Quaternion rotation, Transform parent)

Parameters

Name Type Description
position Vector3
rotation Quaternion
parent Transform

Return Value

Type Description
T