protected override void OnDisable() { base.OnDisable(); if (Active && processingRaycasters.Count == 0) { for (var i = raycasters.Count - 1; i >= 0; --i) { instance.CleanUpRaycaster(raycasters[i]); } } }
protected override void OnDisable() { base.OnDisable(); if (Active) { for (var i = raycasters.Count - 1; i >= 0; --i) { instance.CleanUpRaycaster(raycasters[i]); } } eventSystem.SetSelectedGameObject(null, GetBaseEventData()); }