Corgi Engine  v9.2
MoreMountains.Tools.MMTilemapShadow Class Reference

A class to put on a tilemap so it acts as a shadow/copy of another reference tilemap. Useful for wall shadows for example. Offsetting the tilemap and changing its sorting order etc is done via the regular components More...

Inheritance diagram for MoreMountains.Tools.MMTilemapShadow:

Public Member Functions

virtual void UpdateShadows ()
 This method will copy the reference tilemap into the one on this gameobject More...
 

Static Public Member Functions

static void Copy (Tilemap source, Tilemap destination)
 Copies the source tilemap on the destination tilemap More...
 

Public Attributes

Tilemap ReferenceTilemap
 the tilemap to copy More...
 
bool UpdateShadowButton
 

Protected Attributes

Tilemap _tilemap
 

Detailed Description

A class to put on a tilemap so it acts as a shadow/copy of another reference tilemap. Useful for wall shadows for example. Offsetting the tilemap and changing its sorting order etc is done via the regular components

Member Function Documentation

◆ Copy()

static void MoreMountains.Tools.MMTilemapShadow.Copy ( Tilemap  source,
Tilemap  destination 
)
static

Copies the source tilemap on the destination tilemap

Parameters
source
destination

◆ UpdateShadows()

virtual void MoreMountains.Tools.MMTilemapShadow.UpdateShadows ( )
virtual

This method will copy the reference tilemap into the one on this gameobject

Member Data Documentation

◆ _tilemap

Tilemap MoreMountains.Tools.MMTilemapShadow._tilemap
protected

◆ ReferenceTilemap

Tilemap MoreMountains.Tools.MMTilemapShadow.ReferenceTilemap

the tilemap to copy

◆ UpdateShadowButton

bool MoreMountains.Tools.MMTilemapShadow.UpdateShadowButton

The documentation for this class was generated from the following file: