MMFeedbacks  v1.6
Public Attributes | Protected Member Functions | Protected Attributes | List of all members
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 Attributes

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

Protected Member Functions

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

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

◆ UpdateShadows()

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

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: