Skip to content
Leon Kirschbaum edited this page Nov 13, 2022 · 13 revisions

Welcome To The CustomValidators Documentation!

This is the documentation for custom validators for the Odin Validator tool in Unity.

Table Of Contents

What Are CustomValidators?

In your project you probably have faced many minor issues that need a certain checkbox to be ticked or an object having an empty field. These CustomValidators are helping you to resolve issues like these with a one click fix and can save you dozens of time and clicks. The Odin Validator scans your entire project or just the currently open scene and gives you feedback based on the enabled valdiators and their respective severity that the user can edit to his liking.

What Is Covered?

Currently it mainly is useful for a general optimisation of UI in Unity.

  • Disable RaycastTarget on multiple objects with one click
  • Disable AutoFit on multiple text objects with one click
  • Delete performance heavy components such as Outline or Shadow components
  • Fix a missing camera on canvas components with a context-sensitive fix
  • Fix UI assets via optimising and reimporting assets with one click
  • And more...

Getting Started

To use this set of CustomValidators Odin Inspector and Odin Validator are required to be present in the project.

RootObjectValidators

Click here to read up about all validators of type RootObjectValidator.

ValueValidators

Click here to read up about all validators of type ValueValidator.