 | PoolerInstantiateT Method (String, T, Vector3, Quaternion) |
Initialize a pool instance.
Namespace:
Kit.Pooling
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static T Instantiate<T>(
string group,
T prefab,
Vector3 position,
Quaternion rotation
)
where T : Component
Request Example
View SourceParameters
- group
- Type: SystemString
- prefab
- Type: T
- position
- Type: Vector3
- rotation
- Type: Quaternion
Type Parameters
- T
Return Value
Type:
TThe instance created.
See Also