// Hides the log window and shows the popup public void SwitchFromConsoleToPopup() { dropHereText.SetActive(false); newLogCountsParent.SetActive(true); // Reset the counters Reset(); debugManager.OnSetInvisible(); }
// Log window is dropped onto popup public void OnDrop(PointerEventData data) { // Make sure that we are expecting a drop if (dropHereText.activeSelf) { dropHereText.SetActive(false); newLogCountsParent.SetActive(true); // Reset the counters Reset(); debugManager.OnSetInvisible(); } }