No more stringly-typed code!
- Don't like runtime error because of changed string with layer names?
- Would you like to safely change names of you layers/sorting_layers/inputs/tags without breaking code?
- Do you prefer compile-time errors instead of run-time errors?
Instead of this:
have this:
- Clone to your $REPO/Assets dir.
- Static classes will get generated. After any changes in Unity static files will get regenerated.
- Don't .gitignore UnityTypeSafety-generated. Commit generated code to avoid cold-start problem with compilation errors on fresh checkouts.