Class ProjectAuditorSettings
Project-specific settings.
Inheritance
ProjectAuditorSettings
Implements
Inherited Members
ScriptableSingleton<ProjectAuditorSettings>.GetFilePath()
ScriptableSingleton<ProjectAuditorSettings>.instance
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.ProjectAuditor.Editor
Assembly: Unity.ProjectAuditor.Editor.dll
Syntax
[FilePath("ProjectSettings/ProjectAuditorSettings.asset", FilePathAttribute.Location.ProjectFolder)]
public class ProjectAuditorSettings : ScriptableSingleton<ProjectAuditorSettings>, ISerializationCallbackReceiver
Remarks
The settings in this class include the global DiagnosticParams and a structure containing a list of Rule instances. These can be viewed and edited in the Settings > Project Auditor window in the Editor and are saved in ProjectSettings/ProjectAuditorSettings.asset, but they are not directly exposed to scripts in the package API.
Methods
OnAfterDeserialize()
Post-serialize callback.
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Pre-serialize callback.
Declaration
public void OnBeforeSerialize()
Save()
Save the Project Auditor Settings file.
Declaration
public void Save()