fix: suppress CA1000

This analyzer warning does not apply here.
This commit is contained in:
Oliver Booth 2023-04-02 03:10:58 +01:00
parent bc3dedfa7d
commit 7e7825a170
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
1 changed files with 2 additions and 0 deletions

View File

@ -17,7 +17,9 @@ public abstract class Singleton<T> : MonoBehaviour
/// Gets the instance of the singleton. /// Gets the instance of the singleton.
/// </summary> /// </summary>
/// <value>The singleton instance.</value> /// <value>The singleton instance.</value>
#pragma warning disable CA1000
public static T Instance public static T Instance
#pragma warning restore CA1000
{ {
get => s_instance ? s_instance! : s_instanceLazy.Value; get => s_instance ? s_instance! : s_instanceLazy.Value;
} }