SFNamespaceGenerator View on Asset Store (opens in new tab)

Package details

Latest version
1.3
Last updated
First released
Unity version
6000.4.0 or later
Package size
60 KB
Files
13
Favorites
6
Views in the past week
5

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

SFNamespaceGenerator

by ARTEM KURANAKOV (opens in new tab)

No ratings yet

Auto-generate consistent C# namespaces from folder structure. Perfect for cleaning existing projects. Batch process scripts with custom overrides to prevent conflicts.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for SFNamespaceGenerator, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

SFNamespaceGenerator screenshot 1

SFNamespaceGenerator screenshot 1

About this asset

SF Namespace Generator

Ever started a project, added dozens of scripts, then realized you forgot namespaces? This tool fixes that AND automatically adds the missing `using` statements that come with adding namespaces.

What It Does

  1. Adds proper namespaces to your scripts based on folder structure
  2. Automatically adds missing `using` statements when scripts reference each other
  3. Fixes those "type not found" errors that happen after adding namespaces

Key Features

  • ✅ Smart Namespace Generation: Creates namespaces from folder paths (Assets/Scripts/UI → YourGame.Scripts.UI)
  • ✅ Automatic Using Statements: Detects when ScriptA uses ScriptB and adds `using YourGame.Scripts.UI;`
  • ✅ Type Detection: Finds references in generics, attributes, switch cases, and casts
  • ✅ Batch Processing: Update hundreds of files at once
  • ✅ No Manual Work: One click adds namespaces AND fixes dependencies

Perfect For:

  • Projects that grew without namespaces
  • Fixing "missing reference" errors after organizing code
  • Preparing code for sharing or asset store
  • Cleaning up messy codebases

How It Works:

  1. Select your project folder
  2. Set your root namespace
  3. Preview what will change
  4. Click apply - gets namespaces AND using statements right

No more manually adding dozens of `using` statements after organizing your code!

From the publisher's Asset Store listing.

Technical details

Auto-generate consistent C# namespaces from folder structure. Perfect for cleaning existing projects. Batch process scripts with custom overrides.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.4.0b2 Compatible Compatible Compatible Compatible

As listed on the Asset Store.