TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TpTileBundle.PrefabItem Class Reference

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.

Detailed Description

Prefab info for use when loading tilesets.

Constructor & Destructor Documentation

◆ PrefabItem()

TilePlus.TpTileBundle.PrefabItem.PrefabItem ( GameObject prefab,
Vector3 position,
Quaternion? rotation,
Vector3? scale )

Initializes a new instance of the PrefabItem class.

Parameters
prefabThe prefab.
positionThe position.
rotationOptional rotation (V3 support)
scaleOptional scale (V3 support)

Member Data Documentation

◆ m_MatrixForPreview

Matrix4x4 TilePlus.TpTileBundle.PrefabItem.m_MatrixForPreview = Matrix4x4.identity

Matrix for preview tiles for V3.

◆ m_Position

Vector3 TilePlus.TpTileBundle.PrefabItem.m_Position

its position

◆ m_Prefab

GameObject TilePlus.TpTileBundle.PrefabItem.m_Prefab

The prefab.

◆ m_Rotation

Quaternion TilePlus.TpTileBundle.PrefabItem.m_Rotation

Rotation.

◆ m_Scale

Vector3 TilePlus.TpTileBundle.PrefabItem.m_Scale

Scale.

◆ m_V3PrefabHandling

bool TilePlus.TpTileBundle.PrefabItem.m_V3PrefabHandling

If true, is V3 prefab handling-enabled.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/AssetScripts/Bundles/TpTileBundleData.cs