From d13e0dcba6d66d5aaf4d231613bafdae21ff17f4 Mon Sep 17 00:00:00 2001 From: Matronator <5470780+matronator@users.noreply.github.com> Date: Mon, 30 May 2022 02:50:27 +0200 Subject: [PATCH] Update ExecuteOnMainThread.cs Remove `#if NET_40` to make it work on newer versions of .NET. --- src/Proyecto26.RestClient/Helpers/ExecuteOnMainThread.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Proyecto26.RestClient/Helpers/ExecuteOnMainThread.cs b/src/Proyecto26.RestClient/Helpers/ExecuteOnMainThread.cs index 1c5f4bf..8133a73 100644 --- a/src/Proyecto26.RestClient/Helpers/ExecuteOnMainThread.cs +++ b/src/Proyecto26.RestClient/Helpers/ExecuteOnMainThread.cs @@ -1,8 +1,6 @@ -#if NET_40 using System; using System.Collections; using System.Collections.Concurrent; -#endif using UnityEngine; namespace Proyecto26.Helper @@ -37,7 +35,6 @@ void Awake() } } -#if NET_40 /// /// Store all instance of Action's and try to invoke them /// @@ -60,6 +57,5 @@ void Update() } } } -#endif } -} \ No newline at end of file +}