Skip to content

wewrere41/Unity-Component-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Component Analyzer For Unity

An analyzer that analyze components initialization to prevent the user from using an uninitialized component.

If all of the following conditions are true, it generates an warning

  • Field accessibility non public
  • Field not marked with [SerializeField] attribute
  • Field not initialized in user code. (GetComponent,FindObjectsOfType etc)
  • The user accessed the field.
Unity.mp4