Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
795 stars 64 forks source link

Add 'FindObjectOfType' usage detection #156

Closed mtrive closed 1 year ago

mtrive commented 1 year ago

Description

Object.FindObjectOfType is implemented by calling FindObjectsOfType, however, it is not reported as a potential issue.

Changes made

Added FindObjectOfType usage detection and improve test coverage.

Checklist

Before review: