public static void RemoveRaycasters(BaseRaycaster baseRaycaster) { if (!s_Raycasters.Contains(baseRaycaster)) { return; } s_Raycasters.Remove(baseRaycaster); }
public static void AddRaycaster(BaseRaycaster baseRaycaster) { if (s_Raycasters.Contains(baseRaycaster)) { return; } s_Raycasters.Add(baseRaycaster); }
public void Clear() { gameObject = null; module = null; distance = 0; index = 0; depth = 0; sortingLayer = 0; sortingOrder = 0; worldNormal = Vector3.up; worldPosition = Vector3.zero; screenPosition = Vector2.zero; }