void OnEnable() { selectables = FindObjectsOfType <Selectable>().Where(s => s.interactable && !s.transform.IsChildOf(transform)).ToArray(); foreach (var selectable in selectables) { selectable.interactable = false; //Debug.Log($"{selectable} disabled"); } gameField = FindObjectOfType <GameField>(); gameField.Block(); }