1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:18:47 +00:00

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

View File

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