Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/starikcetin/unity-constants-generator

[Unity CodeDom] Editor-time code generator. Generates constant-declaration-only classes for Tags, Layers, Sorting layers and Input axes. Good for type-safety.
https://github.com/starikcetin/unity-constants-generator

codedom unity unity3d

Last synced: 16 days ago
JSON representation

[Unity CodeDom] Editor-time code generator. Generates constant-declaration-only classes for Tags, Layers, Sorting layers and Input axes. Good for type-safety.

Awesome Lists containing this project

README

        

This repository has UPM support. Use https://github.com/mob-sakai/UpmGitExtension for installing it directly in Unity.

Original author is [dogfuntom](https://gist.github.com/dogfuntom/00faf9f3598d845b1a5c)

> There's also my post:
> [Russian](https://habr.com/ru/post/309128/) or
> [Auto-translated into English](https://www.translatetheweb.com/?from=ru&to=en&dl=en&a=https%3A%2F%2Fhabr.com%2Fru%2Fpost%2F309128%2F)
> The post itself is not too helpful (it's faster to understand the code directly than to read a ton of words about it). But the criticism of my approach in comments is interesting and has valid points.

*https://gist.github.com/dogfuntom/00faf9f3598d845b1a5c#gistcomment-3029375*

----

# unity-constants-generator

[Unity CodeDom] Editor-time code generator. Generates constant-declaration-only classes for Tags, Layers, Sorting layers and Input axes. Good for type-safety.