Skip to content

NewTwoToss/ValidatorTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Validator Tool

A simple tool for controlling assets in Unity projects. The main goal is to ensure better organization and at the same time define the rules in the project. The validator checks the correct naming and placement of assets.

βœ… The following types of assets are checked:

  • Folders
  • Prefabs
  • Scripts
  • Textures
  • Scenes
  • 3D Graphics / Models
  • Sounds / AudioClips
  • Materials / Shaders
  • Animations / Anim. Controllers

❌ Types of errors:

  • Invalid asset name
  • Incorrect asset location / location
  • The folder does not exist
  • The folder does not contain
  • Invalid folder

πŸ“œ Patterns of Naming - a section in which individual assets are assigned patterns (templates) that determine how the assets in the project must be named. Patterns to choose from:

  • ExampleOfNaming
  • exampleOfNaming
  • example_of_naming
  • example-of-naming
  • Example_Of_Naming

πŸ“ Root Folders

A folder or folders in which assets of a specific type must be placed. Assets can be placed in subdirectories. Exceptions are assets that are listed in the Conditions.

Example: The root folder for textures is named Textures. All textures must be in this folder. Exceptions are textures that are listed in the Conditions.

πŸ“ Special Folders

Specific folders that are defined according to the needs of the project and that the project must contain.

Example: Controllers, Animations, Tests, etc.

πŸ“ Ignore Folders

These folders and their contents are ignored by the validator during scanning. Predefined folders:

  • .git
  • Plugins
  • Editor
  • Resources
  • Editor Default Resources
  • Gizmos

πŸ“‹ Project Conditions

Using conditions it is possible to define the location of assets that are related or belong to a common group.

Example: GameContent\Units*\ Prefabs - all folders in the Units folder must contain the Prefabs folder, which must contain at least one asset, in this case prefab.

Basic Layout

Validator Basic Layout

About

Validator for Unity Projects - control naming and locations of assets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages