Class CustomTilemapLayersHandlerExample
Inheritance
System.Object
CustomTilemapLayersHandlerExample
Assembly: cs.temp.dll.dll
Syntax
public class CustomTilemapLayersHandlerExample : TilemapLayersHandlerBaseGrid2D, ITilemapLayersHandlerGrid2D
Methods
AddCompositeCollider(GameObject, Boolean)
Helper to add a collider to a given tilemap game object.
Declaration
protected void AddCompositeCollider(GameObject tilemapGameObject, bool isTrigger = false)
Parameters
Type |
Name |
Description |
GameObject |
tilemapGameObject |
|
System.Boolean |
isTrigger |
|
CreateTilemapGameObject(String, GameObject, Int32)
Helper to create a tilemap layer
Declaration
protected GameObject CreateTilemapGameObject(string name, GameObject parentObject, int sortingOrder)
Parameters
Type |
Name |
Description |
System.String |
name |
|
GameObject |
parentObject |
|
System.Int32 |
sortingOrder |
|
Returns
Type |
Description |
GameObject |
|
InitializeTilemaps(GameObject)
Declaration
public override void InitializeTilemaps(GameObject gameObject)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
Overrides
Implements