From ff5a3fbf31db349db11bbc5c60ba199d26780f19 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 7 Apr 2021 15:38:57 +0800 Subject: =?UTF-8?q?*=E7=A7=BB=E5=8A=A8=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UnityEngine.UI/EventSystem/RaycasterManager.cs | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs') diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs deleted file mode 100644 index c3480b4..0000000 --- a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Collections.Generic; - -namespace UnityEngine.EventSystems -{ - internal static class RaycasterManager - { - private static readonly List s_Raycasters = new List(); - - public static void AddRaycaster(BaseRaycaster baseRaycaster) - { - if (s_Raycasters.Contains(baseRaycaster)) - return; - - s_Raycasters.Add(baseRaycaster); - } - - public static List GetRaycasters() - { - return s_Raycasters; - } - - public static void RemoveRaycasters(BaseRaycaster baseRaycaster) - { - if (!s_Raycasters.Contains(baseRaycaster)) - return; - s_Raycasters.Remove(baseRaycaster); - } - } -} -- cgit v1.1-26-g67d0