![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
specification for spawning a prefab More...
Public Attributes | |
| GameObject? | m_Prefab |
| the prefab to instantiate | |
| string? | m_Parent |
| The name or tag of parent for spawned obj. | |
| bool | m_UseParentNameAsTag |
| set true to use Parent as a tag | |
| Vector3 | m_Position |
| position for spawned prefab | |
| bool | m_PositionIsRelative |
| Set true to make position relative to tile position. | |
| bool | m_KeepWorldPosition |
| Autospawning keeps world position relative to parent. | |
| int | m_PoolInitialSize = 10 |
| If pooling is enabled, how many additional instances to add to pool when this prefab is first encountered. | |
Properties | |
| string | PrefabName [get] |
| Property to get name of prefab. | |
specification for spawning a prefab
| bool TilePlus.TilePlusPrefabSpawnerItem.m_KeepWorldPosition |
Autospawning keeps world position relative to parent.
| string? TilePlus.TilePlusPrefabSpawnerItem.m_Parent |
The name or tag of parent for spawned obj.
| int TilePlus.TilePlusPrefabSpawnerItem.m_PoolInitialSize = 10 |
If pooling is enabled, how many additional instances to add to pool when this prefab is first encountered.
| Vector3 TilePlus.TilePlusPrefabSpawnerItem.m_Position |
position for spawned prefab
| bool TilePlus.TilePlusPrefabSpawnerItem.m_PositionIsRelative |
Set true to make position relative to tile position.
| GameObject? TilePlus.TilePlusPrefabSpawnerItem.m_Prefab |
the prefab to instantiate
| bool TilePlus.TilePlusPrefabSpawnerItem.m_UseParentNameAsTag |
set true to use Parent as a tag
|
get |
Property to get name of prefab.
The name of the prefab.