Method InstantiateAsync
InstantiateAsync(Vector3, Quaternion, Transform)
Declaration
public AsyncOperationHandle<TComponent> InstantiateAsync(Vector3 position, Quaternion rotation, Transform parent = null)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
Quaternion | rotation | |
Transform | parent |
Returns
Type | Description |
---|---|
AsyncOperationHandle<TComponent> |
InstantiateAsync(Transform, Boolean)
Declaration
public AsyncOperationHandle<TComponent> InstantiateAsync(Transform parent = null, bool instantiateInWorldSpace = false)
Parameters
Type | Name | Description |
---|---|---|
Transform | parent | |
Boolean | instantiateInWorldSpace |
Returns
Type | Description |
---|---|
AsyncOperationHandle<TComponent> |