diff options
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs')
-rw-r--r-- | Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/RaycasterManager.cs | 29 |
1 files changed, 0 insertions, 29 deletions
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<BaseRaycaster> s_Raycasters = new List<BaseRaycaster>(); - - public static void AddRaycaster(BaseRaycaster baseRaycaster) - { - if (s_Raycasters.Contains(baseRaycaster)) - return; - - s_Raycasters.Add(baseRaycaster); - } - - public static List<BaseRaycaster> GetRaycasters() - { - return s_Raycasters; - } - - public static void RemoveRaycasters(BaseRaycaster baseRaycaster) - { - if (!s_Raycasters.Contains(baseRaycaster)) - return; - s_Raycasters.Remove(baseRaycaster); - } - } -} |