Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.68 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.68 KB

Null checker

version: 1.4.0
Unity version : 2020.3+

Description

Null checker allows you to see the potential null references in your editor and fix them if possible.

Any Object, class, struct or even asset reference will trigger the null checker and highlight it to tell the user the reference is either missing or valid.

The null reference fixes Object reference via simple GetComponent() on the object the script you are trying to fix is attached on.

Settings

You will find by default a 'Assets/Nullchecker/Settings/NullCheckerSettings.asset' in your project settings. This setting file is automatically generated the first time you will open the null checker settings in your project settings.

Settings description

  • Line size: Hight of a single line to display the error message.
  • Line spacing: Space in pixel between two line of error message.
  • Valid color: Color your Object reference will be highlighted with if a reference exists.
  • Error color: Color your Object reference will be highlighted with if a reference is missing.
  • Default warning: Default message displayed next to a missing reference. If the string is empty, no message will appear and the line will pop
  • Setting path override: Allow you to specify a new path for the setting of the null checker if you want to.

Known issues

  • Some errors may pops when you remove an element from a serialized collection