mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:45:41 +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.
|
/// 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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user