Show / Hide Table of Contents

Class CustomTilemapLayersHandlerExample

Inheritance
System.Object
TilemapLayersHandlerBaseGrid2D
CustomTilemapLayersHandlerExample
Implements
ITilemapLayersHandlerGrid2D
Namespace: Edgar.Unity.Examples.Resources
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
TilemapLayersHandlerBaseGrid2D.InitializeTilemaps(GameObject)

Implements

ITilemapLayersHandlerGrid2D
In This Article
Back to top Generated by DocFX