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

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.

Detailed Description

specification for spawning a prefab

Member Data Documentation

◆ m_KeepWorldPosition

bool TilePlus.TilePlusPrefabSpawnerItem.m_KeepWorldPosition

Autospawning keeps world position relative to parent.

◆ m_Parent

string? TilePlus.TilePlusPrefabSpawnerItem.m_Parent

The name or tag of parent for spawned obj.

◆ m_PoolInitialSize

int TilePlus.TilePlusPrefabSpawnerItem.m_PoolInitialSize = 10

If pooling is enabled, how many additional instances to add to pool when this prefab is first encountered.

◆ m_Position

Vector3 TilePlus.TilePlusPrefabSpawnerItem.m_Position

position for spawned prefab

◆ m_PositionIsRelative

bool TilePlus.TilePlusPrefabSpawnerItem.m_PositionIsRelative

Set true to make position relative to tile position.

◆ m_Prefab

GameObject? TilePlus.TilePlusPrefabSpawnerItem.m_Prefab

the prefab to instantiate

◆ m_UseParentNameAsTag

bool TilePlus.TilePlusPrefabSpawnerItem.m_UseParentNameAsTag

set true to use Parent as a tag

Property Documentation

◆ PrefabName

string TilePlus.TilePlusPrefabSpawnerItem.PrefabName
get

Property to get name of prefab.

The name of the prefab.


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