Summary
Instantiates a
Prefab and a applies a transform to all the entites.
- Namespace
- StrideToolkit
.Engine - Containing Type
- PrefabExtensions
Syntax
public static List<Entity> Instantiate(this Prefab prefab, ref Vector3 translation)
Parameters
| Name | Type | Description |
|---|---|---|
| prefab | Prefab | The Prefab to instantiate. |
| translation | Vector3 | The Vector3 to translate the entities by. |
Return Value
| Type | Description |
|---|---|
| List |
The instatiated and translated entities. |
