• Image
  • Current Version: 1.0.1: 2025-05-13T14:41:37Z
  • First Published: 2025-05-12T12:12:13Z
  • Size: 2916768
  • Supported Unity Versions: 6000.0.32
tools utilities

DG Avoid Hard Coding - Scene, Tag, Layer

No rating !(0 Vote)
$4.59 $4.59

Documents : https://docs.google.com/document/d/1i-byrkS22_EsIgfFc7UrkfBybiL5IxF4G5ro72Ebg-I/edit?usp=sharing


Tired of mistyping scene names, tag strings, or layer numbers? DGConstGenerator streamlines your workflow by scanning your project’s Build Settings, Tag Manager, and Layer Settings, then producing clean, strongly-typed enums (ESceneName, ETagName, ELayerName) and constant classes (SceneNames, TagNames, LayerNames). Everything is fully customizable:

  • Choose where generated scripts live and what they’re called.Save Location & Filenames
  • Enable automatic regeneration whenever your scenes, tags, or layers change.Auto-Generate
  • Wrap your generated code in a namespace matching your folder structure for clear organization.Namespace Support

Ideal for any Unity project—2D, 3D, mobile or PC—DGConstGenerator guarantees zero reliance on magic strings or hard-coded indices, reducing runtime errors and speeding up development.


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!