Skip to content

Instantly share code, notes, and snippets.

@elringus
Created November 12, 2018 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elringus/5cc680ac49d645fbb353541e2f753ab3 to your computer and use it in GitHub Desktop.
Save elringus/5cc680ac49d645fbb353541e2f753ab3 to your computer and use it in GitHub Desktop.
using UnityEngine.Tilemaps;
using BlendModes;
[ExtendedComponent(typeof(TilemapRenderer))]
public class TilemapRendererExtension : RendererExtension<TilemapRenderer>
{
public override string[] GetSupportedShaderFamilies ()
{
return new[] {
"SpritesDefault"
};
}
protected override string GetDefaultShaderName ()
{
return "Sprites/Default";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment