![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
Prefab info for use when loading tilesets. More...
Public Member Functions | |
| PrefabItem (GameObject prefab, Vector3 position, Quaternion? rotation, Vector3? scale) | |
| Initializes a new instance of the PrefabItem class. | |
Public Attributes | |
| GameObject | m_Prefab |
| The prefab. | |
| Vector3 | m_Position |
| its position | |
| Quaternion | m_Rotation |
| Rotation. | |
| Vector3 | m_Scale |
| Scale. | |
| bool | m_V3PrefabHandling |
| If true, is V3 prefab handling-enabled. | |
| Matrix4x4 | m_MatrixForPreview = Matrix4x4.identity |
| Matrix for preview tiles for V3. | |
Prefab info for use when loading tilesets.
| TilePlus.TpTileBundle.PrefabItem.PrefabItem | ( | GameObject | prefab, |
| Vector3 | position, | ||
| Quaternion? | rotation, | ||
| Vector3? | scale ) |
Initializes a new instance of the PrefabItem class.
| prefab | The prefab. |
| position | The position. |
| rotation | Optional rotation (V3 support) |
| scale | Optional scale (V3 support) |
| Matrix4x4 TilePlus.TpTileBundle.PrefabItem.m_MatrixForPreview = Matrix4x4.identity |
Matrix for preview tiles for V3.
| Vector3 TilePlus.TpTileBundle.PrefabItem.m_Position |
its position
| GameObject TilePlus.TpTileBundle.PrefabItem.m_Prefab |
The prefab.
| Quaternion TilePlus.TpTileBundle.PrefabItem.m_Rotation |
Rotation.
| Vector3 TilePlus.TpTileBundle.PrefabItem.m_Scale |
Scale.
| bool TilePlus.TpTileBundle.PrefabItem.m_V3PrefabHandling |
If true, is V3 prefab handling-enabled.