private void OnDisable() { foreach (var button in buttons) { if (button.activeInHierarchy) { return; } } SVRBAutoClosePointerListener.ClosePointers(); }
private void OnEnable() { SVRBAutoClosePointerListener.OpenPointers(); }