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:
parent
bc3dedfa7d
commit
7e7825a170
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user