|
Empeld
Empeld plugin documentation.
|
Extension methods to help manage prefabs More...
Static Public Member Functions | |
| static IPrefab | CreatePrefab (this IWorldReadonly world, Vector3i pos, Size3i size, Vector3i center) |
| Create a prefab from a position in the world More... | |
| static IPrefab | CreatePrefab (this IWorldReadonly world, Vector3i pos, Size3i size) |
| Create a prefab from a position in the world More... | |
| static PrefabInstance | ConstructPrefab (this IWorldReadonly world, IReadonlyPrefab prefab, Vector3i pos) |
| Construct a prefab within the world at a position More... | |
Extension methods to help manage prefabs
|
static |
Construct a prefab within the world at a position
| world | World. |
| prefab | Prefab. |
| pos | Position. |
|
static |
Create a prefab from a position in the world
| world | World. |
| pos | Position. |
| size | Size. |
| center | Center. |
Attribute: x,y,z] = world[new Vector3i(x,y,z) - center + pos
.Id;
|
static |
Create a prefab from a position in the world
| world | World. |
| pos | Position. |
| size | Size. |