Click or drag to resize

PoolerInstantiateT Method (PoolGroup, T, Vector3, Quaternion, Transform)

Initialize a pool instance.

Namespace:  Kit.Pooling
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static T Instantiate<T>(
	PoolGroup group,
	T prefab,
	Vector3 position,
	Quaternion rotation,
	Transform parent
)
where T : Component
Request Example View Source

Parameters

group
Type: Kit.PoolingPoolGroup
prefab
Type: T
position
Type: Vector3
rotation
Type: Quaternion
parent
Type: Transform

Type Parameters

T

Return Value

Type: T
The instance created.
See Also